Eckhart Tolle said this quote

Ego-generated emotions are derived from the mind's identification with external factors which are, of course, all unstable and liable to change at any moment.