Confused and Need to Vent

Dolly • So Blessed👑💁🏼💅🏼💋💄💍 God's Child🙏🏼SuperMommy👶🏼🚼 Wife💍.
I been with my boyfriend for 2 years now . Two years of ups and down ....lies , cheating and abuse . He promised me he was going to stop and change but then he ended up getting his ex girlfriend pregnant which made things worst and harder for me to trust him. In August I found out I was pregnant and I was so happy despite everything with him but then we had a miscarriage last week when I was 4 months pregnant . I was so devasted and hurt and confused on why it happened. They say my baby's brain wasn't develop properly and I feel like stress caused that . We was arguing so much and he hit me more than once while I was pregnant. I feel like God has a reason for everything and he made me miscarriage because he probably felt like My baby was going to suffer and be sickly or either he wanted me to move on because I got pregnant for the wrong man. Now that I had the miscarriage I feel like it's time for me to move on and leave my ex and find real happiness I deserve. I been talking to my friend who I known for about 2 years and he's been so supportive and loving to me but we never got intimate before. He's begging for me to give him a chance because he knows what I been going through , and at the same time my so called boyfriend is begging me not to leave him because he promise that he's going to change .........story of my life 😒😒 Confused ! What would U ladies do ?