The primary theme of the story of Jonah and the Whale is that God's love, grace, and compassion extend to everyone, even outsiders and oppressors. God loves all people. A secondary message is that you can't run from God. Jonah tried to run, but God stuck with him and gave Jonah a second chance.
A challenge from the book of Jonah, Chapters 1-4 (King James Version edition)