The country’s leaders have often rued putting boots on the ground in fights against Palestinian and Shia militants