Your argument is subtly biased in that you equivocating two different levels of entities: one of them is a political/militant/terrorist organisation and another is a state.
If we're dealing with the first level we should compare Hamas and Likud (+coalition); if we're dealing with the second level, we should compare Palestine and Israel. Elevating Hamas to represent the entirety of Palestine in the conflict is twisting the logic.