King David was a man after God’s own heart. He also was a man who suffered from acute depression. Take a look at these verses from Psalm 31 that show the depths to which David descended.
Be merciful to me, Lord, for I am in distress;
my eyes grow weak with sorrow,
my soul and body with grief.
10 My life is consumed by anguish
and my years by groaning;
my strength fails because of my affliction,[b]
and my bones grow weak.
David also knew the way out of depression. Those of us who are depressed should pay heed to his simple antidote.
But I trust in you, Lord;
I say, “You are my God.”
15 My times are in your hands;