Has anyone dealt with teeth issues after pregnancy?

I have always taken care of my teeth. After having my first daughter I found out I had a vitamin d deficiency. I started taking vitamins and it seemed to help. As the years went by my teeth started getting weaker and weaker. I started getting cavities, needed 4 root canals and 2 molars removed. It got even worse after having my second daughter. Now I need another root canal and one extraction. I’m still having issues with my vitamin d and now my doctor is having me take a stronger dose of the vitamin. I was told this was most likely what was causing my teeth issues. I go to the dentist regularly brush like I’m supposed to and it doesn’t make a difference. It’s so frustrating I want to cry. I’ll be 28 in a month and it’s so embarrassing. Has this happened to anyone else?