“Why did God create man?” someone asked. King David posed a similar question in the long ago. “When I consider Your heavens, the work of Your fingers, The moon and the stars, which You have ordained, What is man that You are mindful of him, And the son of man that You visit him?” (Psalm 8:3-4 NKJV).
Genesis 1:26 notes the collaboration by members of the Godhead to create mankind, and it was so. A reason why God created mankind does not appear there.
Elsewhere in the Bible, we see that we were created to glorify God. “Everyone who is called by My name, Whom I have created for My glory; I have formed him, yes, I have made him” (Isaiah 43:7). In any case, righteous or wicked, man was created for God. “The Lord has made all for Himself, Yes, even the wicked for the day of doom” (Proverbs 16:4).
One might also observe that the creation of man represents the outpouring of God’s inexhaustible love (Jeremiah 31:3; 1 John 4:8). For those who comply with God’s Word, they will bask in the love of God eternally in His presence. Though God does not need anything from mankind (Acts 17:24-25), He is willing to share His eternal home with the faithful. Those individuals, our Lord Jesus will return to retrieve someday (John 14:1-3; 1 Thessalonians 4:13-17).