When David is down and despondent his answer is to preach to his own heart. He reminds himself that he should "Hope in the Lord, and praise Him for salvation."