Purpose in life

The other day I was having one of those bad days. The kind of day where I get depressed about my life. When that happens, I start questioning everything about my daily activities. Why do I do the things I do? Do they really make me happy? What is the point of anything I do?
That kind of thinking usually pushes me into a deep depression. But this time I was trying to think positive. And as I was trying to pull out of the whole depression state, I remembered something I memorized as child.
It’s an excerpt from the Westminster Shorter catechism.
“Q. 1. What is the chief end of man?
A. Man’s chief end is to glorify God, and to enjoy him forever.”
Am I glorifying God in my daily life? Maybe my frequent bouts of depression and dissatisfaction are actually because I keep losing focus and forgetting what I’m supposed to be doing here on earth.