From the lesson:
The concept of an investigative judgment is biblical. God’s judicial procedure often includes a phase of investigation and inquiry. A first instance is reported in Genesis 3, where God investigates before He pronounces the verdict (Gen. 3:8–19). God’s dealings with Cain (Genesis 4), Babel (Genesis 11), and Sodom (Genesis 18, 19) follow a similar pattern. We see God undertaking the same action that He requires of the judges in Israel; namely, to “investigate and search out and inquire thoroughly” (Deut. 13:14, NASB; see also Deut. 19:18).
Investigation involves deliberation and fairness. It is often public. God allows others to see for themselves what He is doing. In this way, when God announces the verdict—be it salvation or condemnation—onlookers are assured that God’s action is the best. This is exactly the reason why the heavenly judgment in Daniel 7 involves books. The books are not for God’s sake, so that He would remember more easily, but for the benefit of the celestial beings surrounding Him, who, unlike God, don’t know all things.
And here is an encouraging quote from the book Great Controversy:
All who have truly repented of sin, and by faith claimed the blood of Christ as their atoning sacrifice, have had pardon entered against their names in the books of Heaven; as they have become partakers of the righteousness of Christ, and their characters are found to be in harmony with the law of God, their sins will be blotted out, and they themselves will be accounted worthy of eternal life.
The Lord declares, by the prophet Isaiah, “I, even I, am he that blotteth out thy transgressions for mine own sake, and will not remember thy sins.” [Isaiah 43:25.]
Said Jesus, “He that overcometh, the same shall be clothed in white raiment; and I will not blot out his name out of the book of life, but I will confess his name before my Father, and before his angels.” “Whosoever therefore shall confess me before men, him will I confess also before my Father which is in Heaven. But whosoever shall deny me before men, him will I also deny before my Father which is in Heaven.” [Revelation 3:5; Matthew 10:32, 33.] {GC88 483.2}