LOL, it is not the position of most of the world that Hamas is a resistance movement. It is only the position of radical Islamists and Western leftist anarchists.
They are an organization that formed for the purpose of committing genocide and they have been responsible for the barbaric murder of thousands of civilians. They are as terrorist as you can get.
By the way, there is mounting evidence that support among Gazans for peaceful coexistence with Israel is much higher than previously thought. Evidence, for example, that Hamas has been fudging the numbers on their surveys that show otherwise, recent surveys that show much more positive results, and with the death of Sinwar and damage to Hamas, Gazans are starting to speak out against them. If that is indeed true, it destroys the whole "resistance" and "decolonization" narrative since they wouldn't actually represent the people for whom they claim to be resisting.
That's because we're discussing the definition of proportionality outside the broader context of the laws of warfare. It is a principle applied to specific strikes within the context of military action that is justified under international law. So no, it doesn't just license a group like Hamas to do what they did on the grounds that it helped them achieve their goals.