This psalm is very much like that which goes next before it; it was penned upon a like occasion, when David was both in danger of trouble and in temptation to sin; it begins as that did, “Be merciful to me;” the method also is the same. I. He begins with prayer and complaint, yet not without some assurance of speeding in his request, Ps. 57:1-6. II. He concludes with joy and praise, Ps. 57:7-11. So that hence we may take direction and encouragement, both in our supplications and in our thanksgivings, and may offer both to God, in singing this psalm.