Blessed and holy is he who has part in the first resurrection. Over such the second death has no power, but they shall be priests of God and of Christ, and shall reign with Him a thousand years.
Now when the thousand years have expired, Satan will be released from his prison
and will go out to deceive the nations which are in the four corners of the earth, Gog and Magog, to gather them together to battle, whose number is as the sand of the sea.
They went up on the breadth of the earth and surrounded the camp of the saints and the beloved city. And fire came down from God out of heaven and devoured them.
The devil, who deceived them, was cast into the lake of fire and brimstone where the beast and the false prophet are. And they will be tormented day and night forever and ever.
References for Revelation 20:10
Then I saw a great white throne and Him who sat on it, from whose face the earth and the heaven fled away. And there was found no place for them.
And I saw the dead, small and great, standing before God, and books were opened. And another book was opened, which is the Book of Life. And the dead were judged according to their works, by the things which were written in the books.
References for Revelation 20:12
The sea gave up the dead who were in it, and Death and Hades delivered up the dead who were in them. And they were judged, each one according to his works.
Then Death and Hades were cast into the lake of fire. This is the second death.
References for Revelation 20:14
And anyone not found written in the Book of Life was cast into the lake of fire.