It most certainly could be. In the Peter Pan books by J.M.Barrie, the saying was ‘Hold a happy thought, and you will fly’ Metaphorically speaking. Pushing on through the darkness, and going for positive thinking seems to work really well. And the awful thoughts then begin to diminish, thankfully.
Does that help?