Then Jonah prayed to the LORD his God from inside the fish.
He said, "I cried out to the LORD in my great trouble, and he answered me. I called to you from the world of the dead, and LORD, you heard me!
You threw me into the ocean depths, and I sank down to the heart of the sea. I was buried beneath your wild and stormy waves.
Then I said, 'O LORD, you have driven me from your presence. How will I ever again see your holy Temple?'
"I sank beneath the waves, and death was very near. The waters closed in around me, and seaweed wrapped itself around my head.
I sank down to the very roots of the mountains. I was locked out of life and imprisoned in the land of the dead. But you, O LORD my God, have snatched me from the yawning jaws of death!
"When I had lost all hope, I turned my thoughts once more to the LORD. And my earnest prayer went out to you in your holy Temple.
Those who worship false gods turn their backs on all God's mercies.
But I will offer sacrifices to you with songs of praise, and I will fulfill all my vows. For my salvation comes from the LORD alone."
Then the LORD ordered the fish to spit up Jonah on the beach, and it did.