Humans have a right to their thoughts and feelings including the weird ones. We have to protect that right. What they do not have a right to is control over anyone else on the basis of that. That is the problem here.
The carceral side of the mental health system still exists and still hurts a lot of people, mostly poor and marginalized ones. People still die and get abused and lose their rights because of it. So it’s not a thing to wish for the expansion of.
People who work in helping professions can sometimes have a lot of their identity and self worth tied up into it. A person who has not processed their emotions and baggage about their job/themselves/their place in the world/etc will unfortunately take that baggage out on clients. It is nonsense and I’m sorry you had to deal with it.