I think what they’ve done is far more than merely defending themselves.
Yes, Hamas is evil and did heinous things to the Israeli people, but the response was disproportionate and targeted civilians. Even the lowest estimates show that one in every fifty people in Gaza have been killed, and that number includes mostly women and children, not combatants. Heck, other estimates show nearly double that death toll.
And let’s not even start on the forced displacement of almost a million (!!!) people.
The AI ship has already sailed. No need to harm real humans because somebody might train an AI on your data.