Yeah. Ever heard of the saying '2 wrongs don't make a right'? Well in this conflict, ongoing since at least the middle of last century, it's been tens of thousands of wrongs and still not one right.
Yeah, the Israeli retaliation would be seen as 'right' by some, not going to argue against that, but ultimately it's just another wrong. In a very long line of them. Oh, and the planners and executors of the Oct 7th attacks were very, very wrong too. But some would think that is a 'right'.