The short answer to the question “why did God create us?” is “for His pleasure.” Revelations 4:11 says, “You are worthy, our Lord and God, to receive glory and honor and power, for you created all things, and by your will they were created and have their being. Colossians 1:16 reiterates the point: “All things were created by him and for him.” Being created for God’s pleasure does not mean humanity was made to entertain God or provide Him with amusement. God is a creative Being, and it gives Him pleasure to create. God is a personal Being, and it gives Him pleasure to have other beings He can have a genuine relationship with.
Being made in the image and likeness of God (Genesis 1:27), human beings have the ability to know God and therefore love Him, worship Him, serve Him, and fellowship with Him. God did not create human beings because He needed them. As God, He needs nothing. In all eternity past, He felt no loneliness, so He was not looking for a “friend.” He loves us, but this is not the same as needing us. If we had never existed, God would still be God—the unchanging One (Malachi 3:6). The I AM(Exodus 3:14) was never dissatisfied with His own eternal existence. When He made the universe, He did what pleased Himself, and since God is perfect, His action was perfect. “It was very good” (Genesis 1:31).
Also, God did not create “peers” or beings equal to Himself. Logically, He could not do so. If God were to create another being of equal power, intelligence, and perfection, then He would cease to be the one true God for the simple reason that there would be two gods—and that would be an impossibility. “The LORD is God; besides him there is no other” (Deuteronomy 4:35). Anything that God creates must of necessity be lesser than He. The thing made can never be greater than, or as great as, the One who made it.
Recognizing the complete sovereignty and holiness of God, we are amazed that He would take man and crown him “with glory and honor” (Psalm 8:5) and that He would condescend to call us “friends” (John 15:14-15). Why did God create us? God created us for His pleasure and so that we, as His creation, would have the pleasure of knowing Him.