It's because you can't kill an idea. And by brutalizing the general populace, and committing genocide, they're spreading the idea. They have made generations of new orphans, and new recruits for Hamas, (and if not Hamas, whichever group pops up afterwards) with the wanton destruction they are perpetuating.