Jackie, it will seem awful simple minded in this land so infatuated with thinking, but there is something that cures both pessimism and optimism. Both attitudes are utopian.
Generalizing about the nature of the world prevents the world from appearing. Utopian pessimism and utopian optimism prevent living. Living, as in the midst of the real; the physically presented, complete with all its riches.
Although while living-pessimism can manifest as musculature tension, fear, the very nature of embodied life is optimistic. The air, atmosphere of life, heals like washing.
We must think, yes. We must evaluate, place things on the scale between good and bad. But it must remain only a periodic activity. Thinking is essentially pessimistic. It can’t help to be, because it has abstracted its contents from the flux of life as specimens on a slide.
The goodness and hope and purpose you mention are the very fabric of the act of life. The are living itself.
Goodness and hope and purpose are always available to refresh us. That they can’t be spoken has been said so many times that it sounds trite, but that truth is so close that we can experience it at any moment in time. Goodness, hope, purpose are always at the core of life, even when we are thinking optimistically or pessimistically.