Passage
Then Jonah prayed unto the LORD his God out of the fish’s belly,
Then Jonah prayed unto the LORD his God out of the fish’s belly,
Jonah 2:1 Then Jonah prayed unto the LORD his God out of the fish’s belly,
Jonah 2:2 And said, I cried by reason of mine affliction unto the LORD, and he heard me; out of the belly of hell cried I, and thou heardest my voice.
Jonah 2:3 For thou hadst cast me into the deep, in the midst of the seas; and the floods compassed me about: all thy billows and thy waves passed over me.
The verse centers on "jonah", "prayed", "lord", "fish", and "belly". It is saying that the verse draws attention to "jonah" and "prayed", so its meaning should be read from those terms before moving to application.
The next verse adds "And said I cried by reason of...", so "jonah" and "prayed" should be read forward into that movement. In Jonah context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "jonah" and "prayed" with trust shaped by these words, not by a vague optimism outside the passage.