My husband stepped out of our marriage and I don't know what to do

I don’t know what to do. My hubby stepped out of our relationship (not physically but was calling / texting random women as a source to “get off” because “adult videos wasn’t doing it for him”) he works on the road a lot so the trust is not there. We live on the other side of the country away from all my family. I’m a SAHM. I’m scared to leave because honestly the thought of splitting time and not seeing and being with my 2 year old kills me. He’s a good father so I’d never try to keep him from seeing her but shared custody would crush me. I would go from seeing and being with my baby all the time to ¼ of that since I would have to get a job and find child care. How do yall do it. At this Pont I don’t care about the marriage I just don’t want to miss out on half my kids childhood because of his stupid choices. We have a farm and horses and dogs and I want this life for her but there is no way I could keep this life for her if I left. I need some advice or words of encouragement… I don’t know.