I recently read a blog post that concluded with:
When I'm on my deathbed, I won't look back at my life and wish I had worked harder. I'll look back and wish I spent more time with the people I loved.
Setting aside that some people don't have the economic breathing room to make this kind of tradeoff, what jumps out at me is the implication that you're not working on something important that you'll endorse in retrospect. I don't think the author is envisioning directly valuable work (reducing risk from international conflict, pandemics, or AI-supported totalitarianism; improving humanity's treatment of animals; fighting global poverty) or the undervalued less direct approach of earning money and donating it to enable others to work on pressing problems.
Definitely spend time with your friends, family, and those you love. Don't work to the exclusion of everything else that matters in your life. But if your tens of thousands of hours at work aren't something you expect to look back on with pride, consider whether there's something else you could be doing professionally that you could feel good about.
I like this post a lot. I often use "regret minimisation" as a frame when making important decisions, which feels quite similar to "doing things you would endorse on your deathbed".
Daniel Pinks The Power of Regret also dives into this. The book might only be a less punchy way of saying what this post says. But maybe also a good motivational book for someone headed towards regret.
And the webpage for gathering peoples regrets is a fun idea - although it doesnt say anything about whether they have put all this data to use.
https://worldregretsurvey.com