I was thinking about this earlier this year and Cal Newports work helped me completely reframe the question. He discusses it in this video.
https://youtu.be/sjiP6sDyN-E
This in addition to some Stoic concepts (take care of things you can control, etc.) really helped me.