I question how much this says about society. Mental hospitals were in many ways even worse than prisons, administering all sorts of torturous, pseudoscientific psychiatric practices that had long-term consequences for many. A search for "insulin shock therapy" provides a glimpse into this very dark world.