I know its nonsense, but it makes an intuitive sense in the absence of a better way to deal with existential anxiety.
A virtuous life is always better than a lazy or vicious life. So you die having lived a better life. And (at least for us catholics AFAIK), a virtuous life leads to heavens.
Industriousness is wise, but all is vanity and the fool when he dies goes to the same place as the wise.
Joking, obviously. But it is amusing how many people (Kurzweil, Harari) seriously have faith in this (and believe there is something novel in this pursuit).
After all if we didn't, we wouldn't have tried landing on the moon, among myriad other things.
Maybe because of my lifelong struggle with productivity and procrastination... Cheers!