5 'He who overcomes shall thus be clothed in white garments; and I will not erase his name from the book of life, and I will confess his name before My Father, and before His angels.
8 And all who dwell on the earth will worship him, everyone whose name has not been written from the foundation of the world in the book of life of the Lamb who has been slain.
8 "The beast that you saw was and is not, and is about to come up out of the abyss and to go to destruction. And those who dwell on the earth will wonder, whose name has not been written in the book of life from the foundation of the world, when they see the beast, that he was and is not and will come.
And if anyone's name was not found written in the book of life, he was thrown into the lake of fire.
27 and nothing unclean and no one who practices abomination and lying, shall ever come into it, but only those whose names are written in the Lamb's book of life.
From the context of the above, it appears the book of life refers to a record of all those who are saved and whose name has been written in the book of life from the foundation of the world.
( Some say the book of life refers to all the living and that when the unsaved die, their name is removed from it. This is questionable.)
4 And I saw thrones, and they sat upon them, and judgment was given to them. And I saw the souls of those who had been beheaded because of the testimony of Jesus and because of the word of God, and those who had not worshiped the beast or his image, and had not received the mark upon their forehead and upon their hand; and they came to life and reigned with Christ for a thousand years.
5 The rest of the dead did not come to life until the thousand years were completed.This is the first resurrection ( refers back to v. 4 - there were no verse #'s in the Greek manuscripts ).
6 Blessed and holy is the one who has a part in the first resurrection; over these the second death has no power, but they will be priests of God and of Christ and will reign with Him for a thousand years.
11 And I saw a great white throne and Him who sat upon it, from whose presence earth and heaven fled away, and no place was found for them.
12 And I saw the dead ( see v. 5 ), the great and the small, standing before the throne, and books were opened; andanother book was opened, which is the book of life; and the dead were judged from the things which were written in the books, according to their deeds.
The 1st resurrection here is before the millennium begins - v. 4,5,6. The second resurrection is for the damned at the end of the millennium - v.11,12. The phrase" books were opened" and " written in the books" both refer to the same books which judge the damned
31 Then Moses returned to the LORD, and said, "Alas, this people has committed a great sin, and they have made a god of gold for themselves.
32 "But now, if Thou wilt, forgive their sin-- and if not, please blot me out from Thy book which Thou hast written!"
33 And the LORD said to Moses, "Whoever has sinned against Me, I will blot him out of My book.
"book which Thou hast written!" - apparently a "register" or census taken of the physical living ( context )
"I will blot him out of My book" - therefore refers to untimely physical death.
by Dave Smith, D.Min.