David here recollects, and leaves upon record, the workings of his heart under his afflictions; and it is good for us to do so, that what was thought amiss may be amended, and what was well thought of may be improved the next time.