Rev 20:12-15

12And I saw the dead, great and small, standing before the throne, and books were opened. Also another book was opened, the book of life. And the dead were judged according to their works, as recorded in the books.13And the sea gave up the dead that were in it, Death and Hades gave up the dead that were in them, and all were judged according to what they had done.14Then Death and Hades were thrown into the lake of fire. This is the second death, the lake of fire;15and anyone whose name was not found written in the book of life was thrown into the lake of fire.