God saw their works, that they turned from their evil way. God repented of the evil which he said he would do to them, and he didn't do it.
And Jonah began to enter into the city a day's journey, and he cried, and said, Yet forty days, and Nineveh shall be overthrown. So the people of Nineveh believed God ( Jonah 3:4-5 ),