Hezekiah said to Isaiah, “The word of YHWH that you have spoken is good.” For he thought, “Why not, if there will be peace and security in my days?”
2 Kings 20:19
Contrast Hezekiah's selfish words with those of the atheist Thomas Paine: "I prefer peace, but if trouble must come, let it be in my time so that my children can live in peace." No man is perfectly wise nor perfectly foolish.
Also realize that an offensive, merciless war today is often better than many years of drawn out conflict and brutality later.