Revelation 20:12
Revelation 20:12 AMP
And I saw the dead, the great and the small, standing before the throne, and books were opened. Then another book was opened, which is the Book of Life; and the dead were judged according to what they had done as written in the books [that is, everything done while on earth]. [Jer 17:10; Rom 2:6]