David was a weeping prophet as well as Jeremiah, and this psalm is one of his lamentations: either it was penned in a time, or at least calculated for a time, of great trouble, both outward and inward. Isa. any afflicted? Isa. any sick? Let him sing this psalm. The method of this psalm is very observable, and what we shall often meet with. He begins with doleful complaints, but ends with joyful praises; like Hannah, who went to prayer with a sorrowful spirit, but, when she had prayed, went her way, and her countenance was no more sad. Three things the psalmist is here complaining of:—1. Sickness of body. 2. Trouble of mind, arising from the sense of sin, the meritorious cause of pain and sickness. 3. The insults of his enemies upon occasion of both. Now here, I. He pours out his complaints before God, deprecates his wrath, and begs earnestly for the return of his favour, Ps. 6:1-7. II. He assures himself of an answer of peace, shortly, to his full satisfaction, Ps. 6:8-10. This psalm is like the book of Job.