The Hamas have outright stated their goal is the genocide of the Jewish people.
With your metaphor, are you comparing the Hamas to the Nazis and Israel to the Jewish partisans - or - are you comparing the Hamas to the Jewish partisans and the Israel to the Nazis?
I think the original comment about both Hamas and Israel needing to be held accountable is correct. This isn’t a conflict between good and evil, this is a conflict between evil and evil.
This is the result of capitalism - corporations (aka the rich selfish assholes running them) will always attempt to do horrible things to earn more money, so long as they can get away with it, and only perhaps pay relatively small fines. The people who did this face no jailtime, face no real consequences - this is what unregulated capitalism brings. Corporations should not have rights or protect the people who run them - the people who run them need to face prison and personal consequences. (edited for spelling and missing word)