The apostle John records the final events at the end of this, the second creation, in his visions in the Book of Revelation,
“I saw the beast and the kings of the earth and their armies gathered together to do battle with the rider of the horse and his army. But the beast was taken captive, and with it the false prophet who, in the presence of the beast, had done the miracles which the beast had used to deceive those who had received the mark of the beast and those who had worshipped the image that makes jealous. The beast and the false prophet were both thrown alive into the lake of fire that burns with sulfur. The rest of the followers of the dragon were KILLED with the sword that protrudes from the mouth of the rider of the white horse.
Next an angel down from the heaven having the keys to the abyss, the bottomless pit, and there was a great chain in his hand. The angel seized the red dragon, that ancient serpent, who is the devil and satan, the adversary, and chained him up for a thousand years. The angel threw the dragon into the abyss and locked it and sealed it over him so that he could not deceive the nations any more until the thousand years were over.
For 1,000 earth years the Lamb that was slain and the redeemed rule the earth. I saw thrones and those seated on them receive authority to judge. And I saw the souls of those who had been beheaded for testifying about Yeshua and proclaiming the Word of G-D, also these had not worshipped the beast or its image and had not received the mark on their foreheads and on their hands. They came to life and ruled with the Messiah. This is the first resurrection. Blessed and Holy is anyone who had a part in the first resurrection OVER HIM THE SECOND DEATH HAS NO POWER. On the contrary, They will be Cohanim (priests) of God and of the Messiah, and they will rule with him for a thousand years.
The rest of the dead do not come to life until the thousand years are over. When the thousand years are over the adversary is loosed for a short while to deceive the nations to the four quarters of the earth and do battle with the rider of the white horse. The adversary gathers them God and Magog, the minions of the first and second beast, to come to the battle with the rider of the white horse to win dominion over earth. The number is countless as the sands of the seashore. They came up over the breadth of the land and surrounded the camp of the The Lord G-Ds people and the city that he loves. But fire came down from heaven and consumed them. The adversary who had deceived them was hurled into the lake of fire and sulfur, where the beast and the false prophet are being held, incarcerated, and imprisoned for their crimes against the Lamb and the true sons of the Kingdom of The Lord G-D. There, the beasts and the false prophet and the red dragon and all the dead that were deceived into following them will be tormented day and night forever and forever without end.
Remember, as the red dragon, the adversary, is thrown into the lake of fire, the sea of glass, the ones who overcame him in the last days with their testimony and the testimony of Jesus and did not take the mark of the beast on their head or their hand, stand on the shores of the lake of fire. From that vantage point on the shore of the sea of glass they sing the song of Moses and the song of the Lamb while playing the Harp of Gold and the tambourines that The Lord G-D gives them.
It is such a lovely picture. I hope it is becoming clear to you as you read.