My memory is a bit rusty, but I can't recall any time that "we would have lost if we didn't do it" was used as a successful defense at a war crimes trial.
Normally you go with "that didn't actually happen" or "that was an isolated incident by rogue commanders".
I have no idea what your point is? I suppose you’re implying they should just give up? Sure I’d support that so long as the other side also give up.
And let’s be clear, Isreal commit plenty of war crimes of their own using excuses you describe. Personally that seems more morally reprehensible to me given it is utterly unnecessary.
Normally you go with "that didn't actually happen" or "that was an isolated incident by rogue commanders".