Revelation 20:7-15 New American Standard Bible (NASB)
Satan Freed, Doomed
7 When the thousand years are completed, Satan will be released from his prison, 8 and will come out to deceive the nations which are in the four corners of the earth, Gog and Magog, to gather them together for the war; the number of them is like the sand of the [a]seashore. 9 And they came up on the [b]broad plain of the earth and surrounded the camp of the [c]saints and the beloved city, and fire came down from heaven and devoured them. 10 And the devil who deceived them was thrown into the lake of fire and [d]brimstone, where the beast and the false prophet are also; and they will be tormented day and night forever and ever.
Judgment at the Throne of God
11 Then I saw a great white throne and Him who sat upon it, from whose [e]presence earth and heaven fled away, and no place was found for them. 12 And I saw the dead, the great and the small, standing before the throne, and [f]books were opened; and another [g]book was opened, which is the book of life; and the dead were judged from the things which were written in the [h]books, according to their deeds. 13 And the sea gave up the dead which were in it, and death and Hades gave up the dead which were in them; and they were judged, every one of them according to their deeds. 14 Then death and Hades were thrown into the lake of fire. This is the second death, the lake of fire. 15 And if [i]anyone’s name was not found written in the book of life, he was thrown into the lake of fire.