I agree with most of what you said but you’re very much misunderstanding the point of resistance insurgencies if you think their aim is to “win” in the conventional sense, i.e. conquer and hold territory. Despite the propaganda, death and destruction, Hamas are fighting the IDF to a strategic standstill. Israel’s stated aim is the complete destruction of Hamas and they are nowhere near achieving it, which alone will be win enough in Hamas’ eyes and will strengthen them no doubt. One purported goal for Hamas was to inflict a situation so awful that there is no way the world could just return to normal after it, which I would argue will have happened by the time the dust blows over. They also aimed to stop Arab-Israeli diplomatic normalisation, which has been set back at least 20 years or so. Of the two belligerents, I would argue Hamas has actually been more successful in its aims.
Whataboutism and race carding at its finest.