The threat of impending destruction sends a profound shockwave through the leadership of Nineveh. Instead of surrendering to despair, the king and his nobles launch a desperate, sweeping campaign to change the behavior of their city. A powerful realization takes hold among the people that the very act of sending a prophet to warn them proves the decree is not absolute. A path to survival remains open if they can truly change their ways [מלבי״ם].
Driven by this hope, the king mandates a comprehensive spiritual shift, trusting that an internal transformation in the people's actions might inspire a parallel reversal in God's judgment [אברבנאל, ביאור שטיינזלץ]. The king's declaration carries a dual meaning of hope and responsibility. On one level, it is an expression of hopeful uncertainty, suggesting that if the people correct their behavior, perhaps God will reconsider His harsh decree [רד״ק, ביאור שטיינזלץ]. At the same time, it serves as a direct, practical call to action. Anyone who understands how to repent is urged to do so immediately and to instruct others [מצודת דוד, רד״ק, צאינה וראינה]. This demands that any person aware of their own wrongdoings [רש״י, רד״ק] must actively correct those known offenses, which will in turn bring forgiveness for the sins they do not even realize they committed [מלבי״ם]. On a practical level, the primary requirement is that anyone holding stolen goods or wealth acquired through exploitation must return it right away [אברבנאל].
Interestingly, the repentance of Nineveh is entirely focused on the social sphere and the correction of interpersonal wrongs. The citizens do not abandon their idol worship, nor do they suddenly accept the worship of God. However, because the original decree of destruction was sealed specifically due to their violence and social corruption, mending their moral behavior toward one another is sufficient to cancel the punishment [אברבנאל].
The ultimate goal of this massive social reform is to inspire a profound shift in divine direction and a complete reversal of thought [מצודת ציון]. The underlying principle at work is measure for measure. Just as the people experience genuine regret and turn away from their destructive paths, the hope is that God will similarly regret the decree, turn away from His anger, and spare the city from total ruin [מלבי״ם, ביאור שטיינזלץ].