its the punishing the innocent people bit.
Did you do that
No
Whack
that will teach them
It will never be implemented anywhere [ non totalitarian] for blindingly obvious reasons so why discuss it?
Collective punishment is the punishment of a group of people as a result of the behavior of one or more other individuals or groups. The punished group may often have no direct association with the other individuals or groups, or direct control over their actions. In times of war and armed conflict, collective punishment has resulted in atrocities, and is a violation of the laws of war and the Geneva Conventions. Historically, occupying powers have used collective punishment to retaliate against and deter attacks on their forces by resistance movements (e.g. destroying whole towns and villages where such attacks have occurred).