Safe relationship to have a baby

Many women having babies to keep their man I'm trying to say you cannot safe your rship if he is not in to. My husband's ex girlfrnd was 6 months pregnant by him when he felt for me she ended up a single mum sorry that sounds harsh but I loved him in was very young. for him other woman just carries his baby