It makes perfect sense phipps that you are repeating behaviours that are familiar to you, even though they are destructive and painful.
So that's the first thing to take comfort from, that you now know exactly why you did what you did.
How to change that behaviour? Well, it takes work. I have a very difficult relationship with my mother. I was brought up with love, more so from my father, but my mother always told me she didn't know who I was, that I was so unlike the others and she couldn't relate to me.
I bent myself out of shape trying to be who she wanted to be, and all i did was make us both miserable. Even as an adult living in another country, visits home for a weekend would set me back years, and depression hit me like a truck.
In the end, I asked the gp to refer me to a counsellor. Initially i was seeing her for post traumatic stress disorder, as a result of a near death experience. When she started to ask about my relationship with my mother, i held back and insisted it was fine, and not relevant. Counsellor knew better though, and dug deeper. It was like an avalanche, the floodgates opened and i sobbed, great big heaving, painful sobs, from somewhere so deep i didn't know where. Took weeks of work to establish what damage my mother had done to my sense of self worth, and my basic sense of self. Because I was so different from my family, she simply couldn't figure me out, she had no frame of reference for me. She was actually, in a way, jealous. Mothers can be.
I worked hard to make the separation and to feel, genuinely feel, that she was fallible, she was not really to blame for her limitations. She has a terrible upbringing by a very cold, distant, depressive mother. Its a miracle I am not more damaged really.
This is where you need to get to, to see that she is human, made terrible choices and deeply affected your life. But the time for her to harm you is now over. You have succesfully survived the dreadful childhood, against all odds, and no thanks to her. You have a beautiful family, and you didn't repeat the patterns in your choice of men, you chose dh, a good guy, a good husband and a great dad.
Please ask the gp for a referral phipps, it changed my life, and helped take all my pain and allowed me to label it, understand it, and put it in a box marked 'the past'.