Psalms 50:14
8-15. However scrupulous in external worship, it was offered as if they conferred an obligation in giving God His own, and with a degrading view of Him as needing it [Ps 50:9-13]. Reproving them for such foolish and blasphemous notions, He teaches them to offer, or literally, "sacrifice," thanksgiving, and pay, or perform, their vows—that is, to bring, with the external symbolical service, the homage of the heart, and faith, penitence, and love. To this is added an invitation to seek, and a promise to afford, all needed help in trouble.
Psalms 116:4
3, 4. For similar figures for distress see Ps 18:4, 5.
gat hold upon me—Another sense ("found") of the same word follows, as we speak of disease finding us, and of our finding or catching disease. Jonah 2:9
9. I will sacrifice . . . thanksgiving—In the believing anticipation of sure deliverance, he offers thanksgivings already. So Jehoshaphat (2Ch 20:21) appointed singers to praise the Lord in front of the army before the battle with Moab and Ammon, as if the victory was already gained. God honors such confidence in Him. There is also herein a mark of sanctified affliction, that he vows amendment and thankful obedience (Ps 119:67).