In our goal to live longer, does trust in divine power play a role?

“Joy, temperance, and repose, slam the door on the doctor’s nose.” What does this saying from the 1800s have to do with our lives today?
It’s warm, it’s bright—the sun is generally thought to be a pretty happy component in our every day lives. But why do we need it?