Stinky situation

I was in a physically and emotionally abusive marriage. Where he would choke me if I tried to leave and threaten to kill me. He would make comments about my tits being saggy after breastfeeding my two children and he will scream in my face to the point where my two year old will cry because she's scared. So we finally split when he cheated on me while I was 7 months pregnant with his child. He told me he didn't love me anymore and that he was running away with the woman and ditching his kids. So fast forward close to a year and my best friend has been a father figure to my two daughters loving and offers the kind of stability they never had with there bio Dad. My two year old is no longer scared of men because he's been so great with her well here comes the tricky part one night we went from best friends to something more I'm not exactly sure how things escalated so quickly but we ended up having sex. We used the only condoms he had and turned out they were expired and it broke I didn't think it was a big deal because I thought I wasn't near ovulation but I was wrong because 3 weeks passed no period and I took a pregnancy test and it came up positive.(my best friend is so excited he wants to adopt my girls and he's always wanted a big family) I know I'll probably get a lot of judgement because I'm still legally married since I'm still saving to afford the divorce but I'm looking for some encouragement 😕 my family is very religious so I don't think I can ever tell them about the baby or they'll disown me so I'm debating hiding the pregnancy. Sorry for the long post and thank you for taking the time to read it