Because there is value in a large group speaking with a unified voice to say “this is wrong, and you need to know that the rest of us think it’s wrong. Your behavior will affect the relationship you have with us all going forward”. Direct intervention isn’t the only form of consequence.
Is it the best solution to the problem? No. Is it still worth doing? Yes.
I’m not even supposed to be here today!