Jonah 2:7 in the King James Version
When my soul fainted within me I remembered the LORD: and my prayer came in unto thee, into thine holy temple.
Context
6 I went down to the bottoms of the mountains. The earth barred me in forever; yet you have brought my life up from the pit, LORD my God.
7 “When my soul fainted within me, I remembered the LORD. My prayer came in to you, into your holy temple.
8 Those who regard vain idols forsake their own mercy.