Psalms 107:28 Midrash

וַיִּצְעֲק֣וּ אֶל־יְ֭הוָה בַּצַּ֣ר לָהֶ֑ם וּֽ֝מִמְּצֽוּקֹתֵיהֶ֗ם יוֹצִיאֵֽם׃

They cried unto the LORD in their trouble, And He brought them out of their distresses.

Read midrashic interpretation of Psalms 107:28: and classical rabbinic exegesis.