I saw a great white throne with someone sitting on it. Earth and heaven tried to run away, but there was no place for them to go. I also saw all the dead people standing in front of that throne. Every one of them was there, no matter who they had once been. Several books were opened, and then the book of life was opened. The dead were judged by what those books said they had done.
The sea gave up the dead people who were in it, and death and its kingdom also gave up their dead. Then everyone was judged by what they had done. Afterwards, death and its kingdom were thrown into the lake of fire. This is the second death. Anyone whose name wasn't written in the book of life was thrown into the lake of fire.
The Bible clearly says that everyone who has ever lived will be judged by what they have done on this earth. And those deeds are written in books that God will use on the day of judgment. God is just and fair. No one will be sent to Hell who does not deserve it. There is one exception to God's justice. If your name is written in the Book of Life then you will go to Heaven even if you deserve to go to Hell!
That is the simple and amazing truth of the Gospel of Jesus Christ. Even though you have done plenty of evil deeds that show up in the Books that God will use to judge all of mankind, every one of those deeds will be "Cross-Referenced" to the Book of Life! And if your name is in the Book of Life you will not go to Hell.
Then why should you be concerned with living a good life on this earth? If you can go to Heaven in spite of the bad things you have done what is the purpose in living a life of righteousness? Well even though Jesus takes away the eternal consequences of your sin, it is for you to suffer the earthly ones. There are many people in prisons today whose sins have been covered and forgiven by Jesus, but the earthly authorities still demand punishment. So don't be foolish. There are many earthly blessings for avoiding sin!
Remember, if you are a follower of Jesus Christ, then your name is written in the Book of Life and all your sins which are listed in the other Books are "Cross-Referenced" to the Book of Life. When Jesus died on the Cross He put all of the names of His followers in the Book of Life!
"Lord Jesus, thank You for the Book of Life and the truth that my sins are cancelled out by Your sacrifice on the Cross. Praise Your Holy Name forever. Amen."