Israel cannot afford a war of attrition.