Victory means imposing one's will on the enemy, compelling him to abandon his war goals. Germans, forced to surrender in World War I, retained the goal of dominating Europe and a few years later looked to Hitler to achieve this goal. Signed pieces of paper matter only if one side has cried "Uncle": The Vietnam War ostensibly concluded through diplomacy in 1973 but both sides continued to seek their war aims until the North won ultimate victory in 1975.
Willpower is the key: shooting down planes, destroying tanks, exhausting munitions, making soldiers flee, and seizing land are not decisive in themselves but must be accompanied by a psychological collapse. North Korea's loss in 1953, Saddam Hussein's in 1991, and the Iraqi Sunni loss in 2003 did not translate into despair. Conversely, the French gave up in Algeria in 1962, despite out-manning and out-gunning their foes, as did the Americans in Vietnam in 1975 and the Soviets in Afghanistan in 1989. The Cold War ended without a fatality. In all these cases, the losers maintained large arsenals, armies, and functioning economies. But they ran out of will.
Likewise, the Arab-Israeli conflict will be resolved only when one side gives up.