In going to war, the Israeli PM is risking his country’s long-term security, as well as support at home and abroad