Psalms 107:28 (KJV)

Then they cry unto the LORD in their trouble, and he bringeth them out of their distresses.