“States are doomed when they are unable to distinguish good men from bad.”