... and for good reason, because it turns out that people with no support network (which most mentally ill people and a lot of prisoners are) are perfect victims for all kinds of abuse - both from other inmates and from "wardens". They didn't end up in an asylum randomly, they ended up in there because their family didn't want or could not provide care for them.
And it's not just mental "health" institutions or prisons... all forms of "care" breed abuse. The Catholic Church for example is still reeling from constant discoveries of abused children in orphanages. Elder care institutions, particularly severely understaffed, routinely have to deal with inmates being injured by anything from a lack of care (e.g. bed sores) over physical abuse to sexual abuse [1].
And to make it worse... private/family care without independent oversight is just as bad. A lot of homeschooled children are heavily abused, caregiver burnout and its fallout is also a nasty issue, and particularly in men with dementia, they can also be the abusers.
In the end, the root problem is that we as a society haven't yet figured out how to properly deal with the balance between care work, employment work and rest, and we also haven't figured out how to properly reward and audit care work.
[1] https://www.theguardian.com/australia-news/2022/jun/06/shock...
No.
1/4 of us are already out of work and we still pretend this is fine.