Angry with myself for eating sugar

Hi everyone,
I'm loving the forum and reading all your posts and replies :h6)
Over the past 10 years I've tried everything to lose weight and give up sugar. My granddad was an alcoholic and looking back I think my dad was sugar sensitive. Nothing has worked for me. I used to be a very heavy drinker, with some other addictions including using work and exercise to distract me from all the pain in my life. 12 years ago I fell apart and have been on a journey of recovery in many ways. I've stopped drinking and bought every book going on quitting sugar. Nothing has worked. The consultant at hospital has also said I should lose weight.
I often feel very angry with myself that I am eating a lot of sugar when I know it is detrimental to me in so many ways. I haven't been able to stop. My brother iin law gave it up a few years ago and has virtually never eaten in since. I feel a real failure at family events scoffing cake while he just sits there.
Potatoes not Prozac and this forum have given me some hope. I'm working steps 2 and 3 and feel positive that I can make some changes for the first time in ages. It's good to be here, thanks for reading.
Rosie.