Reflecting upon the works of the Lord (in history), people find strength, and the lonely heart finds a home. Time and again we are exhorted to pay attention to our individual history; let us learn from the mistakes in the past that we can live a more peaceful life. David, earlier, tried to bring the Ark of the Covenant to Jerusalem only to have a disastrous situation come upon him. David learned a dreadful lesson, he was angry and then afraid. No doubt, after reflection, he learned that the Lord is to be praised, and not lightly treated (1 Chronicles 15:13). David had the Lord foremost in his mind; on an even earlier occasion, when his men all but turned on him, it was to the Lord that he sought comfort (1 Samuel 30:6). David had personal experience from which to draw; we, too, should draw from our own personal experience and praise the Lord for His works.