Um, no, actually, they gave up land in the Sinai, and realized that the Sinai was largely indefensible, which is why they gave it up so easily at Camp David a few years later.
Yom Kippur War
Final situation on the Egyptian front
By the end of the war, the Israelis had advanced to positions some 101 kilometres from Egypt's capital, Cairo, and occupied 1,600 square kilometres west of the Suez Canal.
[247] They had also cut the Cairo–Suez road and encircled the bulk of Egypt's Third Army. The Israelis had also taken many prisoners after Egyptian soldiers, including many officers, began surrendering in masses towards the end of the war.
[248] The Egyptians held a narrow strip on the east bank of the canal, occupying some 1,200 square kilometres of the Sinai.
[248] One source estimated that the Egyptians had 70,000 men, 720 tanks and 994 artillery pieces on the east bank of the canal.
[249] However, 30,000 to 45,000 of them were now encircled by the Israelis.
[250][251]...
Golan front
On 11 October, Israeli forces pushed into Syria and advanced towards Damascus along the Quneitra-Damascus road until 14 October, encountering stiff resistance by Syrian reservists in prepared defenses. Three Israeli divisions broke the first and second defensive lines near Sasa, and conquered a further 50 square kilometres of territory in the Bashan
salient. From there, they were able to shell the outskirts of Damascus, only 40 km away, using
M107 heavy artillery.[
citation needed] The Israeli Army advanced to within 30 km of Damascus.
[26]
en.wikipedia.org