Psalm 93:1b, "Indeed, the world is firmly established, it will not be moved."

Psalm 102:25-26, "Of old You founded the earth, And the heavens are the work of Your hands. Even they will perish, but You endure; And all of them will wear out like a garment; Like clothing You will change them and they will be changed."

Pslam 104:5 seems to indicate that the earth is permanent. "He established the earth upon its foundations, so that it will not totter forever and ever."

So how do these passages correspond with 2 Peter 3:10 and 12? "But the day of the Lord will come like a thief, in which the heavens will pass away with a roar and the elements will be destroyed with intense heat, and the earth and its works will be burned up." "looking for and hastening the coming of the day of God, because of which the heavens will be destroyed by burning, and the elements will melt with intense heat."

Will the heavens and the earth be destroyed or "changed" or are they permanent?