Yahweh prepared a great fish to swallow up Jonah, and Jonah was in the belly of the fish three days and three nights.
And Jonah was in the belly of the fish - The time that Jonah was in the fish’s belly was a hidden prophecy. Jonah does not explain nor point it. He tells the fact, as Scripture is accustomed to do so. Then he singles out one, the turning point in it. Doubtless in those three days and nights of darkness, Jonah (like him who after his conversion became Paul), meditated much, repented much, sorrowed much, for the love of God, that he had ever offended God, purposed future obedience, adored God with wondering awe for His judgment and mercy. It was a narrow home, in which Jonah, by miracle, was not consumed; by miracle, breathed; by miracle, retained his senses in that fetid place. Jonah doubtless, repented, marveled, adored, loved God. But, of all, God has singled out this one point, how, out of such a place, Jonah thanked God. As He delivered Paul and Silas from the prison, when they prayed with a loud voice to Him, so when Jonah, by inspiration of His Spirit, thanked Him, He delivered him.