After Jonah was spit up from the great fish, God called him a 2nd time to, "Arise, get up and got to Nineveh and preach the words I tell you."
Then Jonah got up and went to Nineveh as God commanded.
God is the God of 2nd chances. We we run away from His will he is still waiting for us to come back Him. Sometimes He pursues us violently like Jonah, and sometimes He gives us space and allows us to "do our own thing" - like the parable of the prodigal son. The point is - He wants us.
Jonah finally obeyed God, went to Nineveh, preached to the people, and they repented and turned to God.
Because of Jonah's obedience and God's grace, not only Jonah got a 2nd chance at redemption, but so did the people of Nineveh. His grace covers all no matter what stage of life you are in.