My family is now shunning me

Me and my husband almost divorced 14 years ago. I tried to keep it on the down low but they eventually found out and knew an affair was involved. My family is extremely religious. It's why my 17 year old daughter has to keep her being gay on the down low. We ended up working it out and through years of marriage counseling we welcomes a new baby into the world. My family assumed my husband cheated on me and the reason he went with that is because he knew I would lose my family if they knew. They are always hating on him to everyone and talking about our business and say how he must be a horrible dad and i only stay for the kids. Yesterday at a cook out my mom decided to tell our 5 year old son never to cheat on a women and women are queens who need to be worshiped. Then says how badly hid daddy hurt his mommy. I told my mom to stop. She said she can't understand why i stay and there are men who would treat me so much better. This is in front of everyone. So I said "Well he never cheated on me! I cheated on him!" Everyone was staring and I said how I had a 4 month affair and stopped it He found out 2 months after I stopped. How he's been taking it because he knows it's against your religion and my whole family will turn their back on me so he's been taking it for 14 years... And.. They did turn their back on me.. Mom and Dad blocked me. My sister, cousins, only one who didn't is my brother and said he's here if I need to talk.. Oh Well.. I guess i have my family that really matters