Moral Justification For Killing Of Idolaters By A Rasul
It was a divine punishment, not a general rule. God destroyed the nations of the previous Rasul too, who denied the divine message without any excuse—the same He did with the deniers of the Prophet Muhammad. Human morality does not apply to God. He gives death to people, we cannot do that.