I know many think Israel’s government allowed the attacks to occur. I have not seen evidence of that. But it sure seems like they were caught unprepared.
They were distracted with internal politics. Bibi was the “bad guy” much like Trump in the U.S. Bibi tried to reform the Judical System in Israel.