Apocalipse 20

12 And I saw the dead, the great and the small, standing in front of the throne. And books were opened; and so was another book–namely, the Book of Life; and the dead were judged by the things recorded in the books in accordance with what their conduct had been.

13 Then the sea yielded up the dead who were in it, Death and Hades yielded up the dead who were in them, and each man was judged in accordance with what his conduct had been.