Just don't buy the sugary stuff, then you cant eat it. I've not got a huge sweet tooth, but even eliminating sugar in my tea and coffee took a fair bit of willpower. Still, now I'm used to it I dont find it a problem, and actually enjoy it.
my weakness is savoury snacks. Damn to Hades the man that
invented cheese and Marmite!