At any moment, when we find ourselves in ego-consciousness, we can flip the switch to God-Consciousness. With Him all things are possible. In ego-consciousness, nothing is ever going right, but with God we walk in peace.
Have a conscious day. When you catch yourself in moods of despair, change the channel to a higher one. It is guaranteed to work.