Scott Adams said this quote

Of the big five factors in happiness—flexible schedule, imagination, diet, exercise, and sleep—my pick for the most important is exercise.