Parents of Reddit who had a child with a partner they dislike- how did you manage to deal with them for your child? Did things work out between you?

He’s a deadbeat who opts to not see his child often, although it has varied over the years. I set firm boundaries w him, don’t badmouth him to our kid, and my fiance sets a wonderful example of what a dad can be. Overall I’m luckier than most. And no things didn’t work out between us. We got married and pregnant when I was young and naive. He was abusive and a cheater and shitty. My kid is my world but I still feel guilt over having her with such a shitty dude.