Jonah compares falling into the ocean with falling into Sheol, the pit of nothingness that is the farthest point from God humans can imagine. Then, he bemoans that he will not live to offer another sacrifice to God in the Temple. At the end, God caused the fish to spit Jonah miraculously onto dry land.
[links to Bible Gateway open in a new window]
Reading the Bible in Its Entirety
If you are planning to read the Bible in its entirety, you should read Jonah 2 today.