Was just about to make the same point. The phrase “We can’t bomb our way to peace” sounds nice and catchy, but it is demonstrably untrue: we bombed our way out of WWII. And then made allies out of those we bombed.
It still took more than bombing alone, at least in the case of Germany. And I’m pretty sure that Israel isn’t going to nuke Gaza, tempting as that might be.