This is the manipulative framing people love to use but anyone with even a passing understanding of what’s happening can see how manipulative it is.
You’re referring to Gaza which has been under blockade/siege since Israel withdrew. By framing it how you have you ignore the reality that even without a direct occupation Israel is crushing Gaza from a health perspective, a social perspective, and a financial perspective.
Not to mention Gaza isn’t the only Palestinian territory. In the time since Israel began sieging Gaza, the West Bank has seen upwards of fifty Palestinians killed per year by Israeli settlers, all backed by IDF soldiers. This is in a territory without Hamas by the way.
It takes some serious ignorance to act like Israel isn’t directly responsible for the abject poverty of Palestinians.
The West Bank isn’t ruled by Hamas, they have zero presence there. You have a very limited perspective on this.