You searched for: “ergo doleo
Cogito, ergo doleo. (Latin phrase)
I think, therefore I am depressed.

Also translated as, "I think, therefore I exist."

Credited to Descartes [French philosopher] as a priori proof of one's existence in his Discourse on Method, and is used as the starting point for his philosophic system.