Condemn the Israeli government and IDF for the monsters they are, and support the Palestinians for the victims they are.
But you don't need to glorify hamas.
The Palestinians have a right to defend their land, but the organization that came in to organize the defenders happens to be a problematic one.
That said, it's a tough spot because there isn't really a good way to materially support the defenders without also supporting Hamas, and the defenders absolutely need support.