The purpose of the attack last Saturday was to force Israeli tanks to enter Gaza.
You are correct but did not state the whole complex scenario.
The war in Gaza and the tremendous loss of Gazan lives is for the sole purpose of ending the reproachment between Saudi Arabia and Israel. The reproachment is for Iran, a Bridge Too Far
The dead Hamas pawns and Gazans are the cost of the Iranian desired destruction of the existential President Trump developed Abrams Accords/Negev summit coalition between the Arab nations that matter and Israel.
The Iranians and the Obama legacy hangers on are making a last desperate and deadly attempt to recreate the now dead preTrump status quo