Revelation 20:6-15 NCV

6 Happy and holy are those who share in this first raising of the dead. The second death has no power over them. They will be priests for God and for Christ and will rule with him for a thousand years.
7 When the thousand years are over, Satan will be set free from his prison.
8 Then he will go out to trick the nations in all the earth -- Gog and Magog -- to gather them for battle. There are so many people they will be like sand on the seashore.
9 And Satan's army marched across the earth and gathered around the camp of God's people and the city God loves. But fire came down from heaven and burned them up.
10 And Satan, who tricked them, was thrown into the lake of burning sulfur with the beast and the false prophet. There they will be punished day and night forever and ever.
11 Then I saw a great white throne and the One who was sitting on it. Earth and sky ran away from him and disappeared.
12 And I saw the dead, great and small, standing before the throne. Then books were opened, and the book of life was opened. The dead were judged by what they had done, which was written in the books.
13 The sea gave up the dead who were in it, and Death and Hadesn gave up the dead who were in them. Each person was judged by what he had done.
14 And Death and Hades were thrown into the lake of fire. The lake of fire is the second death.
15 And anyone whose name was not found written in the book of life was thrown into the lake of fire.