This is why the common rhetoric given from politicians and jingoists is that all of them are guilty and that no one is innocent. Using the same example, the workers and students of that school are de facto responsible because they allowed that school shooter to enter the school.
If there were multiple school shooters inside one school, and they were coördinating with other shooters across the country, that becomes a valid trade off. (In a classic solo shooter scenario, everyone you want to save is inside the building. There is no external context.) In the same way that a hijacked plane, post 9/11, is a valid target for being shot down.
How many school shooters would need to be in a Florida High School before you think it's worthwhile to bomb it? Just a rough number
Let's change the analogy: ISIS terrorists take over the MIT campus. Inside the university are 50 armed terrorists. Is it valid to now bomb the university? What if there are 100 terrorists?
There is no issue with scale here. No matter how much it scales, you won't reach a point where there is an ethical position that argues for the mass murder of people that we actually view as people. It only becomes ethical when we dehumanize the people affected.
So we're back to 'all of them are guilty'
The shame here is what you described is literally Hamas' reasoning for carrying out the October attacks. Dehumanization, hyper aggression, and hiding it all behind 'the opposition is inherently evil, guilty by association, so we are fundamentally justified'.
Getting international opinion to turn against Israel.
Thats the way Hamas can survive this, getting enough pressure on Israel to make them stop.
Two, Israel is doing an incredible good job at putting the pressure on themselves right now.
Sinwar himself said it :
Then a courier arrived with a message from Yahya Sinwar, the head of Hamas in Gaza, saying, in effect: Don’t worry, we have the Israelis right where we want them.
Hamas’s fighters, the Al-Qassam Brigades, were doing fine, the upbeat message said. The militants were ready for Israel’s expected assault on Rafah, a city on Gaza’s southern edge. High civilian casualties would add to the worldwide pressure on Israel to stop the war, Sinwar’s message said, according to people informed about the meeting.
Source https://www.wsj.com/world/middle-east/hamas-thinks-it-could-...
This apparent myth rubs me the same way as "there's no food because Hamas is stealing it" - really? All of it? For what purpose?