You have to kill all of the men.
But we didn’t have to kill all the German and Japanese men after we won WWII. We occupied the nations for a while, and dealt with the worst of their leadership. But there was no mistake on anyone’s part, both Japan and Germany were hammered so hard that they decided not to misbehave again.