Yea, but most of the people that poked the bear are now dead. What's left of Hamas is in tatters; it's no longer a consolidated enemy. The IDF is no longer even fighting an insurgency, they're fighting against a hydra of ragtag clusters of Hamas. The distinction between a Hamas fighter, a Hamas supporter, and a pure civilian is growing thinner and thinner. Every time they bomb and kill a Hamas fighter, they kill or injure a non-combatant, and create a half dozen more Hamas converts in the process. Israel isn't fighting this war smartly any more. Bombing a school full of civilians to get a senior member of Hamas while claiming you are working toward a cease fire is inhuman and insane.
They are the bear that got poked, for sure, but it turns out that bear is sentient and highly intelligent, and it's chosen to sit on it's attacker and slowly crush it to death, bone by bone.