Eckhart Tolle said this quote

The primary cause of unhappiness is never the situation, but you thoughts about it. Be aware of the thoughts you are thinking.