“I love the Lord, because He has heard My voice and my supplications. Because He has inclined His ear to me, Therefore I will call upon Him as long as I live. I believed, therefore I spoke, “I am greatly afflicted.””
Psalms 116:1-2, 10 NKJV
The psalmist was clearly in trouble, but he cried out to the Lord and He heard him. What strikes me here is verse 10 – “I believed, therefore I spoke, “I am greatly afflicted.”” He believed the Lord would rescue him, so he then cried out to the Lord. He had faith, which is what we need in times of trouble.