Thank you for asking a question on This is your Bible.
God made the earth to be inhabited.
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.
His purpose (promised with an oath) is to fill it with his Glory.
Numbers 14:21 But as truly as I live, all the earth shall be filled with the glory of the LORD.
This is to be done by giving men and women who believe and obey him eternal life upon the earth.
Romans 6:23 For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord.
Psalms 37:9 For evildoers shall be cut off: but those that wait upon the LORD, they shall inherit the earth.
Eternal life is the bestowing of the divine nature upon men in order that God can dwell with man and be all in all.
2 Peter 1:4 Whereby are given unto us exceeding great and precious promises: that by these ye might be partakers of the divine nature, having escaped the corruption that is in the world through lust.
This is to be accomplished by his son Jesus Christ who lived a sinless life and gave his life a sacrifice for the remission of sins of all who will obey the gospel.
John 15:13 Greater love hath no man than this, that a man lay down his life for his friends.14 Ye are my friends, if ye do whatsoever I command you.
Those who want the eternal life must believe the gospel and obey it.
Mark 16:15 And he said unto them, Go ye into all the world, and preach the gospel to every creature.16 He that believeth and is baptized shall be saved; but he that believeth not shall be damned.
Paul describes what will happen.
1 Corinthians 15:22 For as in Adam all die, even so in Christ shall all be made alive.23 But every man in his own order: Christ the firstfruits; afterward they that are Christ’s at his coming.24 Then cometh the end, when he shall have delivered up the kingdom to God, even the Father; when he shall have put down all rule and all authority and power.25 For he must reign, till he hath put all enemies under his feet.26 The last enemy that shall be destroyed is death.27 For he hath put all things under his feet. But when he saith all things are put under him, it is manifest that he is excepted, which did put all things under him.28 And when all things shall be subdued unto him, then shall the Son also himself be subject unto him that put all things under him, that God may be all in all.
In this way God will fill the earth with his glory and his purpose accomplished.
I hope this helps.