While this is technically correct on the surface, it doesn’t really tell the whole story imo.
Israel is a nuclear power that has the ability (and clearly the willingness) to eradicate Palestinians from its territory. Hamas is a guerilla militant group. Yes they’re both evil, but more practically, only one has the ability to end this conflict, and it’s Israel.