Israel is bracing for a long struggle with Hamas