The fact that Netanyahu himself empowered Hamas is rarely mentioned by our politicians and media.
He preferred a real enemy above the Palestinian Authority that he would have to find a negotiated solution with.
How Netanyahu's Hamas policy came back to haunt him — and Israel
https://www.cbc.ca/news/politics/netanyahu-israel-gaza-hamas-1.7010035