One has to wonder about this issue of being on the "right side of history". If I am an atheist and don't believe in a life after death, why should I care what the history books right about me? I don't exist anymore and I won't be able to care what they write about me anyway. Does Hitler care? Stalin? Mao? Do you think Putin will care when he is gone?
But if there is a heaven and hell, it's NOT the history books that I will be mostly concerned with when I am gone. It will be a different set of books God has that will be of much larger concern to me. In the previous case, the history books are essentially moot and powerless. In the later case, God's books have a lot to say about us.
In Revelation 20:12, the Apostle John writes in,
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. The dead were judged according to what they had done as recorded in the books....God keeps 2 sets of books, much like businesses keep ledgers with credits and debits being tracked. On God's books it's much the same. One one side is the list of all our sins we have committed, and on the other is the sins paid for by God's own Son JESUS CHRIST! For those, who are baptized in Christ Jesus they are made alive in him and pass from death to life. Not in some future time, but RIGHT NOW! We have nothing to fear as we die. Our names are written not only in the Book of Life, but in God's own hands. 800 years before Christ, the Prophet Isaiah wrote,
Anyone whose name was not found written in the book of life was thrown into the lake of fire.
and have no compassion on the child she has borne? Though she may forget, I will not forget you! See, I have engraved you on the palms of my hands!
Our names are not written in "pencil" in the Book of Life, but are written in the blood Christ shed on the cross for us!