In the old days as long as you did your job, didn't preach any blasphemy or heresy, and didn't commit any sexual sins. Nobody cared if you were "mentally ill" or judged you for it. Mental illness didn't exist as a concept. It was called being human. A great deal of discrimination against people who are perceived to be mentally ill is a result of the Industrial Revolution, capitalism, and indoctrinating young people to be attracted to this "extrovert ideal" man who acts like a chimp shit.