4 Then I saw thrones, and to those who took their seats on them authority was given to act as judges. And I saw the souls of those who had been beheaded because of the testimony to Jesus and because of the message of God, for they had refused to worship the Beast or its image, and had not received the brand on their foreheads and on their hands. They were restored to life, and they reigned with the Christ for a thousand years. 5 (The rest of the dead were not restored to life until the thousand years were ended.) This is the first resurrection. 6 Blessed and holy will he be who shares in that first resurrection. The second Death has no power over them; but they will be priests of God, and the Christ, and they will reign with him for the thousand years.
7 When the thousand years are ended, Satan will be let loose from his prison, 8 and he will come out to deceive the nations that live in the four corners of the earth – Gog and Magog. He will come to gather them together for battle; and their number will be as great as the sand on the sea-shore. 9 They went up over the breadth of the whole earth, and surrounded the camp of Christ’s people and the city that he loves. Then fire fell from the heavens and consumed them; 10 and the devil, their deceiver, was hurled into the lake of fire and sulfur, where the Beast and the false prophet already were, and they will be tortured day and night for ever and ever.