Ok
But, well, sometimes a military option is unpalatable to the international community or close allies, e.g. using tactical nuclear weapons in the war in Ukraine.
I have no idea about #Israel's ballistic and airforce capabilities, but if I were on the losing end of a ground battle, I'd still use them, even if they were considered "unpalatable."