מִֽי־יוֹדֵ֣עַ יָשׁ֔וּב וְנִחַ֖ם הָאֱלֹהִ֑ים וְשָׁ֛ב מֵחֲר֥וֹן אַפּ֖וֹ וְלֹ֥א נֹאבֵֽד׃
Wer weiß, ob Gott sich dann wieder bedenken und von seiner Zornesglut lässt, dass wir nicht umkommen.
Rashi on Jonah
Whoever knows—the sins he has committed, shall repent.
Malbim on Jonah
Who knows but that God may turn: ... from the fact that God sent a prophet, the king understood that their repentance will work.