Take a look at any recent vote in the UN, or the opinions of the ICJ. The majority of powers in the western world share the gp's view. The US is literally the only country in the free world, other than Israel, that disagrees.
But maybe you thought the French resistance shouldn't have fought against the occupying nazi forces during WWII.
I mean, I do get where you are coming from since the Iraqis of Afghanis who didn't want the USA occupying their land were also called terrorists by the occupiers.
Regardless, Hamas isn't the French Resistance.