If you look at israel before yom kippur war,
"In an interview published in Newsweek (April 9, 1973), President
Sadat again threatened war with Israel. Several times
during 1973, Arab forces conducted large-scale exercises that put
the Israeli military on the highest level of alert, only to be
recalled a few days later. The Israeli leadership already believed
that if an attack took place, the Israeli Air Force would be able
to repel it.
Almost a full year before the war, in an October 24, 1972, meeting
with his Supreme Council of the Armed Forces, Sadat declared his
intention to go to war with Israel even without proper Soviet
support (Rabinovich, 25). Planning was done in absolute
secrecyeven the upper-echelon commanders were not told of war
plans until less than a week prior to the attack, and the soldiers
were not told until a few hours beforehand. The plan to attack
Israel in concert with Syria was code-named Operation Badr (the
Arabic word for "full moon"