Rev 19, 20, 21 states the way it will all happen.
Jesus is coming as king of kings.
Rev 19:16 And he hath on his vesture and on his thigh a name written, KING OF KINGS, AND LORD OF LORDS.
He tells the birds to feast on the dead.
And the rest are destroyed.
Rev 19:21 And the remnant (remaining) were slain with the sword of him that sat upon the horse, which sword proceeded out of his mouth: and all the fowls were filled with their flesh.
Only the save survive the second coming
Rev 20 explains that the devil is cast into a bottomless pit. That Word means abyss
The same description given to the earth before creation. A void. Wasteland.
Rev 20:5-6
5 But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection. 6 Blessed and holy is he that hath part in the first resurrection: on such the second death hath no power, but they shall be priests of God and of Christ, and shall reign with him a thousand years.
No evil will be with the saved. They are safe with Jesus.
Rev 20:7 And when the thousand years are expired, Satan shall be loosed out of his prison,
Satan now has souls to tempt
Satan can start working against Jesus again. He is loosed out of his chains.
Rev 20:13-15
13 And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works. 14 And death and hell were cast into the lake of fire. This is the second death. 15 And whosoever was not found written in the book of life was cast into the lake of fire.
The second death is for those not written in the book of life.
The unsaved.
After the 1000 years the heavenly city comes down to earth. Earth is cleansed by fire and recreated
Rev 21:1-2 1 And I saw a new heaven and a new earth: for the first heaven and the first earth were passed away; and there was no more sea. 2 And I John saw the holy city, new Jerusalem, coming down from God out of heaven, prepared as a bride adorned for her husband.
Vs 8 states that the unsaved face the second death.
Mat 5:3-10
3 Blessed are the poor in spirit: for theirs is the kingdom of heaven. .....5 Blessed are the meek: for they shall inherit the earth. ......10 Blessed are they which are persecuted for righteousness' sake: for theirs is the kingdom of heaven.
Both the new earth and the kingdom of Heaven will be given to the saved.
First 1000 years in heaven then the holy city comes down to earth and earth is recreated, made new.