Genesis 1:1 In the beginning God created the heaven and the earth.
QUESTION: Why did God create the earth and the heavens?
Psalms 115:15-16 Ye are blessed of the Lord which made heaven and earth. The heaven, even the heavens, are the Lord’s: but the earth hath he given to the children of men.
Isaiah 45:18 For thus saith the Lord that created the heavens; God himself that formed the earth and made it; he hath established it, he created it not in vain, he formed it to be inhabited: I am the Lord; and there is none else.
II Peter 3:13 Nevertheless we, according to his promise, look for new heavens and a new earth, wherein dwelleth righteousness.
Revelation 4:11 Thou art worthy, O Lord, to receive glory and honour and power:
for thou hast created all things,
and for thy pleasure they are and were created.
ANSWER: He created them for His pleasure and to be inhabited.