Revelation 20:12
12 And I saw the dead, great and small, standing before the throne, and mbooks were opened. Then another book was opened, which is the nbook of life. And the dead were judged by what was written in the books, according to what they had done.
Revelation 20:13
13 And the sea gave up the dead who were in it, oDeath and Hades gave up the dead who were in them, and they were judged, each one of them, according to what they had done.