David Brin said this quote

Generalization is a natural human mental process, and many generalizations are true—in average. What often does promote evil behavior is the lazy, nasty habit of believing that generalizations have anything at all to do with individuals.