Mental disorder

I'm just wondering if anyone else during their pregnancy has/had OCD/anxiety. I have misophonia which has gotten worse during my pregnancy, I am going to therapy to help cope. I am worried these effects will happen to my baby. I just want to know if anyone was in a similar situation and had a healthy baby. Just need some assurance. Thank you.