Mental illness while being a mom

My brother said I was a bad mom, due to my anxiety. I have agoraphobia so it’s pretty hard to leave the house, I leave when needed, and I always take my daughter to her appointments I haven’t missed one, but today, and all of a sudden I’m a bad mom, and we sleep all day, and he says that’s a bad mom, my baby is 4 months old, she doesn’t have a schedule, I stay at home all day taking care of her, and make sure she’s growing up good and everything, I’m about to start seeing a therapist soon too, it made me feel real bad, what do you guys think?