But this was very displeasing to Jonah, and he became angry. He prayed to the Lord and said, 'O Lord! Is not this what I said while I was still in my own country?' (vs 1-2)
When God saw what they did, how they turned from their evil ways, God changed his mind about the calamity that he had said he would bring upon them; and he did not do it. (v. 10)