R’ Eliezer of Kamarner said, “When a righteous man’s heart breaks into a thousand pieces, and he is afraid he will become depressed, he should search for his good qualities and praise himself.
At other times, when he fears he might become conceited, he should search for his mistakes and faults. ~ P’air Yitzchok