The criticism of Hamas is warranted.
They knew how Israel would respond, and they still went ahead and attacked civilians. They used their political position to drag Gaza into a situation that their people can't handle without outside support, even though they are geographically isolated. The growing opposition to Bibi inside Israel was an opening they could've exploited to put real Palestinian statehood on the table, but they promptly closed that door by continuing a military struggle they have little to no chance of winning.
Considering that PIJ, Hamas, and all these other groups have chosen to become the foot soldiers of Iran, I have to wonder how being a thorn on the side of Israel and Saudi Arabia will translate into a stable, Palestinian state. If the destruction of Israel leads to the growth of Iran's influence in the region (through Hezbollah and Palestinian militant groups that will effectively govern the region), it's pretty obvious that the Saudis, Egyptians, and Jordanians may end up being as invested in Israel's survival as the US is.