Jonah explains why he initially ran away from the Lord (Jonah 1:3): He knew the Lord would spare the wicked Ninevites if they repented.
I knew: Jonah almost quotes Exodus 34:6–7, which is about Israel’s covenant with the Lord. Even in the Old Testament, God wanted to spread salvation to all nations (see Matthew 28:18–20).