Yesterday I ate lots of sugar in the form of sweets. It happened during a 100km bike ride (against a strong headwind even) and I would otherwise bonk [0], so I'm pretty sure it was good for me, my arteries and my weight loss.
And that's the issue with simple messaging like 'sugar bad'.
0. https://www.ride25.com/cycling-blog/bonking-birds-bees/