Hamas being terrorists doesn't make it OK for Israel to be committed to genocide any more than Israel's existence as an ethnofascist apartheid state makes in OK for Hamas to be bombing proms.
Both organizations are making it impossible for Palestinians to live peacefully.