Revelation.
Chapter 20.
Then I saw an angel descending from heaven, holding in his hand the key to the abyss and a huge chain. 
He seized the dragon – the ancient serpent, who is the devil and Satan – and tied him up for a thousand years. 
The angel then threw him into the abyss and locked and sealed it so that he could not deceive the nations until the one thousand years were finished. (After these things he must be released for a brief period of time.) 
Then I saw thrones and seated on them were those who had been given authority to judge. I also saw the souls of those who had been beheaded because of the testimony about Jesus and because of the word of God. These had not worshiped the beast or his image and had refused to receive his mark on their forehead or hand. They came to life and reigned with Christ for a thousand years. 
(The rest of the dead did not come to life until the thousand years were finished.) This is the first resurrection. 
Blessed and holy is the one who takes part in the first resurrection. The second death has no power over them, but they will be priests of God and of Christ, and they will reign with him for a thousand years. 
Now when the thousand years are finished, Satan will be released from his prison 
and will go out to deceive the nations at the four corners of the earth, Gog and Magog, to bring them together for the battle. They are as numerous as the grains of sand in the sea. 
They went up on the broad plain of the earth and encircled the camp of the saints and the beloved city, but fire came down from heaven and devoured them completely. 
And the devil who deceived them was thrown into the lake of fire and sulfur, where the beast and the false prophet are too, and they will be tormented there day and night forever and ever. 
Then I saw a large white throne and the one who was seated on it; the earth and the heaven fled from his presence, and no place was found for them. 
And I saw the dead, the great and the small, standing before the throne. Then books were opened, and another book was opened – the book of life. So the dead were judged by what was written in the books, according to their deeds. 
The sea gave up the dead that were in it, and Death and Hades gave up the dead that were in them, and each one was judged according to his deeds. 
Then Death and Hades were thrown into the lake of fire. This is the second death – the lake of fire. 
If anyone’s name was not found written in the book of life, that person was thrown into the lake of fire. 
