Well you do place a lot of value on your therapist’s opinion. That’s why you are in a professional relationship with them.
I think of my therapist’s opinion like a voice of reason coming from an educated place of understanding and toward guiding me for my best interest. If I didn’t feel like I could trust them, I wouldn’t want to have a therapeutic relationship with them.
Your friend who made the comment wasn’t being helpful. Why would they say that? It was kind of a put down. Maybe they feel you should value their opinion instead and the comment was their ego talking.