Sugar isn't actually bad, of course. Like everything it's in the LOTS and how you consume it. Sugary drinks are the nightmare, since basically they're sugar solution that can be consumed in vast quantity. Apples, even cake, have a fairly low limit before you feel full.
Homoeopathic cake is probably a good way to lose weight though.