Defeating an enemy to the extent that they can't drive a truck full of AI killbots into a busy city center is an impossible task barring a scorched earth approach. And if that option is on the table -- killing millions to secure Israel's future -- then Israel seals its fate regardless.
Live by the sword, die by the sword. Old advice that continues to ring true.