Jonah chapters 2-3 provide a contrast of two types of repentance. In chapter 2 Jonah lives out self-righteous repentance, with flowery words, biblical knowledge, all the forms expected… but none of the heart. Jonah is only pushed to repentance through extreme circumstances has no real recognition of his own heart issue and continues to feed his ego and make only the most surface-level changes of behavior, and will in the end return to the same error showing that no real change has occurred. In contrast, the Ninevites are confronted with their own sin, and turn in immediate, desperate, true heart-change repentance to God.