Having a purpose in life may be one of the most important factors in longevity:
https://www.mprnews.org/story/2019/05/25/npr-finding-sense-meaning-life-linked-health
"This association between a low level of purpose in life and death remained true despite how rich or poor participants were, and regardless of gender, race, or education level. The researchers also found the association to be so powerful that having a life purpose appeared to be more important for decreasing risk of death than drinking, smoking, or exercising regularly."
https://www.mprnews.org/story/2019/05/25/npr-finding-sense-meaning-life-linked-health
"This association between a low level of purpose in life and death remained true despite how rich or poor participants were, and regardless of gender, race, or education level. The researchers also found the association to be so powerful that having a life purpose appeared to be more important for decreasing risk of death than drinking, smoking, or exercising regularly."