Vomit. Giant sea creatures. Repentance. This tale has it all.
What seemed like certain death was actually God's saving grace when Jonah was swallowed up by the big fish. 3 days and 3 nights in the dark belly of the beast, Jonah had time to reflect and turn from his foolishness (even if temporarily). Then, at that moment God breathed new life into Jonah - or in this case, vomited new life.
Thankfully a better prophet came into the world who also descended into the dark belly of the beast of death on our behalf... but not because he was running from God, but because he was obedient to Him. Then on the third day he rose again (not from vomit this time). Now we can have new life breathed into the dark belly of the beast of our sin.