Revelation 20:12 in the King James Version
And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works.
Context
11 I saw a great white throne and him who sat on it, from whose face the earth and the sky fled away. There was found no place for them.
12 I saw the dead, the great and the small, standing before the throne, and they opened books. Another book was opened, which is the book of life. The dead were judged out of the things which were written in the books, according to their works.
13 The sea gave up the dead who were in it. Death and Hades gave up the dead who were in them. They were judged, each one according to his works.