In my experience, there is no way that they did not know that an attack was in the works; maybe they didn't know the details or full scale, but they knew something was coming. I think strategically this is a smart move and will ultimately save far more lives than were lost and also be a long term solution that will prevent this from happening on a recurring basis.
You’ve got Bibi’s mindset!