God’s prophet Moses says that God has written a book:
Exodus 32:32 “… if not, then blot me out of the book you have written.”
The apostle John tells us that the book, called the book of life, belongs to the Lamb (Jesus):
Revelation 13:8 … the Lamb’s book of life, the Lamb who was slain from the creation of the world.
The book of life will also be opened at the judgment.
Revelation 20:12a And I saw the dead, great and small, standing before the throne, and books were opened. Another book was opened, which is the book of life.
Those whose names are not in the book of life will be condemned.
Revelation 20:15 Anyone whose name was not found written in the book of life was thrown into the lake of fire.