The psychotherapist Irvin Yalom, in his book Staring at the Sun, points out that many of us live with the dim fear that on our deathbeds we’ll come to regret how we spent our lives. Remembering our mortality moves us closer to the deathbed mindset from which such a judgment might be made – thus enabling us to spend our lives in ways that we’re much less likely to come to regret.