I would suggest most people in first world countries have a problem with the concept of collective punishment. I certainly do. Israel has no blame here. They have a right to exist, and be where they are at. The Palestinians choose war over peace.
That's because they're not rational and have a poor historical perspective.
The US has been unsuccessful in most of its military engagements since World War II precisely because it has a strong insistence on avoiding use of collective punishment and a tendency to adopt overly strict rules of engagement.
What would you call the Allied campaigns of firebombing German and Japanese cities, or using nuclear weapons on Hiroshima and Nagasaki if not collective punishment? This war was remarkably successful precisely because the US showed a willingness to escalate violence to an unlimited level in order to win. Something which has not been done in any conflict since.
I would call those campaigns the continuation of politics by other means. The American and British attack sorties were unequivocally coordinated solely to eviscerate the morale of the enemy and expedite governmental submission. Period. Unfortunately, Imperial Japan's military leadership rejected unconditional surrender and all subsequent demands of the Postdam Declaration, prolonging an already exhausting and lethal conflict. Some persons familiar with the war would cite the success of naval blockade. However, naval blockade did not render other occupied countries and their respective prisoners impervious to Japanese massacre.
Retrospectively, the area bombing and firebombing campaign manifested against Imperial Japan and Germany were enacted as a direct result of the ineffectiveness of precision bombing by radar. There are a myriad of analytical reports pre-dating the area bombing-firebombing incursions which corroborate the technological limitations long-range bombing attacks at the time. Low-altitude thermal, explosive, and incendiary munition attacks on cities were the best means of inflicting significant devastation on an enemy's industrial capabilities.
Common subject literature affirms the malicious and hateful sentiments shared by many in regard to Axis aggression, especially against Imperial Japanese inhumane treatment of combatants and noncombatants alike. Consequently, many unintentionally confuse the fundamental executions of warfare as collective punishment. Max Hastings, the British author of "Retribution, The Battle for Japan 1944-1945" published an archived quote from the mastermind of the Japanese firebombing campaign which solidified America's true intention, "bomb and burn 'em til they quit".
My response is intended to clarify the actions of countries engaged in official declarations of war. These actions should not be diluted or referenced with the actions of one illegitimate state attacking non-state aggressors residing in another illegitimate state.