Revelation 20:12-15
20:12 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.
20:13 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.
20:14 Then Death and Hades were thrown into the lake of fire. This is the second death – the lake of fire.
20:15 If anyone’s name was not found written in the book of life, that person was thrown into the lake of fire.