David
Psalm 107:19ESV·traditional attribution

Then they cried to the LORD in their trouble, and he delivered them from their distress.

John Calvin Reformed @genevareformer

PSALM 107 The Psalmist teaches us, in the first place, that human affairs are not regulated by the fickle and uncertain wheel of fortune, but that we must observe the judgments of God in the different vicissitudes which occur in the world, and which men imagine happen by chance.

Commenting on Psalm 107:1-43

C.H. Spurgeon Reformed Baptist @princeofpreachers

Then they cry unto the Lord in their trouble. They join the praying legion at last. Saul also is among the prophets. The fool lays aside his motley in prospect of the shroud, and betakes himself to his knees. What a cure for the soul sickness of body is often made to be by the Lord's grace! And he saveth them out of their distresses.

Matthew Henry Presbyterian @wholebiblehenry

Bodily sickness is another of the calamities of this life which gives us an opportunity of experiencing the goodness of God in recovering us, and of that the psalmist speaks in these verses, where we may observe, I. That we, by our sins, bring sickness upon ourselves and then it is our duty to pray, Psa 107:17-19. 1.

Commenting on Psalm 107:17-22