That’s largely what makes it a “sign.” As Jesus later points out, the Ninevites repent of their evil ways, while Israel did not (Matthew 12:41–42). The supposedly unconverted show themselves to be converted, while Jonah is shown to be unchanged, despite his three days in darkness.

