1 (To the chief Musician upon Jonathelemrechokim, Michtam of David, when the Philistines took him in Gath.) Be merciful unto me, O God: for man would swallow me up; he fighting daily oppresseth me.
2 Mine enemies would daily swallow me up: for they be many that fight against me, O thou most High.
3 What time I am afraid, I will trust in thee.
4 In God I will praise his word, in God I have put my trust; I will not fear what flesh can do unto me.
5 Every day they wrest my words: all their thoughts are against me for evil.
6 They gather themselves together, they hide themselves, they mark my steps, when they wait for my soul.
7 Shall they escape by iniquity? in thine anger cast down the people, O God.
8 Thou tellest my wanderings: put thou my tears into thy bottle: are they not in thy book?
9 When I cry unto thee, then shall mine enemies turn back: this I know; for God is for me.
10 In God will I praise his word: in the LORD will I praise his word.
11 In God have I put my trust: I will not be afraid what man can do unto me.
12 Thy vows are upon me, O God: I will render praises unto thee.
13 For thou hast delivered my soul from death: wilt not thou deliver my feet from falling, that I may walk before God in the light of the living?
David seeks mercy from God, amidst the malice of his enemies. (1-7) He rests his faith on God's promises, and declares his obligation to praise him for mercies. (8-13)1-7 Be merciful unto me, O God. This petition includes all the good for which we come to throne of grace. If we obtain mercy there, we need no more to make us happy. It implies likewise our best plea, not our merit, but God's mercy, his free, rich mercy. We may flee to, and trust the mercy of God, when surrounded on all sides by difficulties and dangers. His enemies were too hard for him, if God did not help him. He resolves to make God's promises the matter of his praises, and so we have reason to make them. As we must not trust an arm of flesh when engaged for us, so we must not be afraid of an arm of flesh when stretched out against us. The sin of sinners will never be their security. Who knows the power of God's anger; how high it can reach, how forcibly it can strike?8-13 The heavy and continued trials through which many of the Lord's people have passed, should teach us to be silent and patient under lighter crosses. Yet we are often tempted to repine and despond under small sorrows. For this we should check ourselves. David comforts himself, in his distress and fear, that God noticed all his grievances and all his griefs. God has a bottle and a book for his people's tears, both the tears for their sins, and those for their afflictions. He observes them with tender concern. Every true believer may boldly say, The Lord is my helper, and then I will not fear what man shall do unto me; for man has no power but what is given him from above. Thy vows are upon me, O Lord; not as a burden, but as that by which I am known to be thy servant; as a bridle that restrains me from what would be hurtful, and directs me in the way of my duty. And vows of thankfulness properly accompany prayers for mercy. If God deliver us from sin, either from doing it, or by his pardoning mercy, he has delivered our souls from death, which is the wages of sin. Where the Lord has begun a good work he will carry it on and perfect it. David hopes that God would keep him even from the appearance of sin. We should aim in all our desires and expectations of deliverance, both from sin and trouble, that we may do the better service to the Lord; that we may serve him without fear. If his grace has delivered our souls from the death of sin, he will bring us to heaven, to walk before him for ever in light.Commentary by Matthew Henry, 1710.