What a lot of horrible replies.
Honestly people here have no idea of the context of mental health provision in the UK and how lacking in skill many practitioners are in terms of the words they use.
Mental health provision requires sensitivity to perspective and diversity and equality issues. It is part of the job to use language in ways that are equal and sensitive to the contexts of people's lives.
The majority of people with mental health conditions have histories of childhood or other trauma or having had experiences where their needs were not considered as equal to others in their lives.
Because of this context, it is very reasonable to suggest that it is not good practice to say to someone with long-standing mental health involvement that the priority in terms of keeping them well is about someone else, even a beloved child.
Some of you should be really ashamed of your nasty and unkind responses.
"I guess it just made me feel like I do not exist as a human being. It is really weird to explain. Perhaps it is just my Asperger's. I do have a bad habit of taking things the wrong way and misinterpreting stuff."
OP - you do exist as a human being. You matter. It is important that you have access to good treatment to maintain wellness. This will also benefit your child. And if you didn't have a child you would be equally worthy of being listened to, cared for and having your distress seen and responded to with sensitivity. The practitioner may have been hoping to help you with seeing your illness in terms of being a mum because for many people with mental health histories who are not very self-compassionate or good at self care, it is easier to be motivated to stay well for a child than themselves. For other people the same words function differently. This may be the case for you. It boils down to your own learning history and the current context of your life and any distress you may have been experiencing recently.
I wouldn't use this part of the forum as a place to discuss mental health. You can be your own principal witness. It didn't feel nice to hear those words. It's okay not to like that. It's okay to feel weirded out about it.
Take care of yourself.