Sadly there aren’t “good guys” and “bad guys” in real life. Just people and their actions, for which they must answer.
Being part of the oppressed group doesn’t make Hamas free from criticism and judgement.
There are Palestinian groups working for peaceful solutions.
There’s also a far right terror group that decided to carry out a random attack on Israeli civilians that was instated by the Israeli government and rules through fear.
One group isn’t good just because another is bad. Figure it out