Yes. I think that’s discrimination.
Many years ago I was searching in internet the requirements to adopt a baby in China and it said you are not suitable if you have schizophrenia or bipolar disorder. And I know I could have been a good mother, better than many others who don’t have a mental illness.
I think meditation can be useful as well. I want to try some meditation again as well. I believe it can help. But for me personally, I have to be careful with certain spiritual/religious ideas and practices. And be alert to my own responses.