That group behavior reminds me of stories I've heard from a friend who has close relatives that lived in Stasi-era German Democratic Republic. Everyone was scared of their neighbors because everyone was a snitch.
It also reminds me of Mark Twain's "The Man That Corrupted Hadleyburg". To surmise that people are generally good is wrong, for "The weakest of all weak things is a virtue not tested in the fire."