What difference should the stated intent of a military power make to someone who has lost their family, gotten maimed, or had their city or country destroyed by said power's actions? Does the intent change the tangible, real-world results in any way?
I think that intent is more relevant to courtrooms and philosophical discussions than it is to the tangible results of a military's actions and those actions' effects on people.
Asking someone who has just lost loved ones in war to make an objective assessment of the situation is unfair and ignores the obvious human psychology of grief at play.
When we're talking as outside observers of the war, it behooves us to think a bit more objectively here. You're comparing a liberal democracy to a terrorist group that does not want Israel to exist. How many times must we say the obvious? It is clear that the political and ideological objectives of these two groups are not morally equivalent. On one hand, you're talking about a group whose objective is evil. On the other hand, you're talking about a country that has committed evils in the course of fighting a worthy cause (as has every democratic nation I know of).
If we're going to have any kind of discussion rooted in any reasonable sense of right and wrong, that distinction has to be kept clear.