Welcome! I think lots of us are trapped in these kinds of cycles--doing what our parents/loved ones did to us. I think it's natural, so don't waste time beating yourself up. The good news is you are here and making an effort! Your family will appreciate all your hard work.
Personally, right now I'm focusing on pain as a motivator for change. Maybe that will help you too.