Bertrand Russell said this quote

Collective fear stimulates herd instinct, and tends to produce ferocity toward those who are not regarded as members of the herd.