A mistake? The Israelis didn't understand the extent to which Hamas views itself as engaged in a holy war. They (and many others, including me) thought that Hamas would prioritize building Gaza and providing services to its people over murder/kidnapping raids.