The people of Nineveh were given a chance to repent in the days of Jonah, and God spared them His punishment. But they continued in their evil ways. Nahum comes to deliver the message, you can "fool" God once, but if you persist in evil, God only has so much patience. Your actions have shown that you deserve to be punished.