Revelation 20:12

12 And 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.

Revelation 20:12 In-Context

10 And the devil who had deceived them was thrown into the lake of fire and sulfur, where the beast and the false prophet were, and they will be tormented day and night forever and ever.
11 Then I saw a great white throne and the one who sat on it; the earth and the heaven fled from his presence, and no place was found for them.
12 And 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.
13 And 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.
14 Then Death and Hades were thrown into the lake of fire. This is the second death, the lake of fire;
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.