Revelation 20:12-13

ASV(i) 12 And I saw the dead, the great and the small, standing before the throne; and books were opened: and another book was opened, which is [the book] of life: and the dead were judged out of the things which were written in the books, according to their works. 13 And the sea gave up the dead that were in it; and death and Hades gave up the dead that were in them: and they were judged every man according to their works.