In fact Egypt learnt the lesson and their initial offensive against Israel in 1973 was a sweeping success.
Then the Syrians bogged down and asked Egypt to keep pushing on their front but the Egyptian generals had no plans to move forward as they reached initial objectives.
Egyptian politicians took over to pushed further and it ended in another disaster for Egypt and Israel’s victory.
Egyptian ground forces were pushed beyond the protection of the missile defense umbrella that held off the Israeli Air Force, which then swooped in and wreaked havoc upon them. Then the tanks came in. Unfortunately, the armored corps had such success during the ‘67, Six Day War, that they got big headed, and in ‘73, they moved forward without infantry cover, and suffered disastrous consequences. Wire guided anti-tank missiles took them completely by surprise, and they paid a heavy price until they realized that if the machine gunner fired at the operator who guided the missile to its target with a sort of joy stick, it really tended to disrupt his concentration, and aim...especially if it killed him outright. Arrogance cost them dearly, as it always does to those who succumb to it.
Israeli Command knew that the attack was coming, but Golda Meir, Prime Minister of Israel at the time, insisted that the Arabs be allowed to strike first for PR reasons, so the world would not see Israel as the aggressor. Really stupid, unforgivable mistake that cost many, many Israeli lives, for no worthwhile reason at all. Every person, or government, sees what they want to see. Posing and posturing is nothing compared to reality. In a street fight, gun fight, or a war, NEVER let the other guy get the first shot in if you can help it at all. Violence is not tiddly winks! She made a great mistake that haunted her to the day she died. May she Rest in Peace.