The sadness in a person's heart comes when he senses his own wickedness, for the heart is what brings about all this;
the heart is the cause of everything, whether for good or the opposite.
Sefer HaMidos, Depression, Part II §1