I had a similar experience as yours and was changed by the following simple thought. Here is a sentence out of the book Peony by Pearl S Buck, pg 170.
" It is within a man's power to choose happiness and reject sorrow."
Just a few words but when deeply understood more powerful than any monolith of philosophy.