When you say sugar, you mean processed sugar right? My understanding is sugar in fruits is good for you...
Eating an actual fruit though is healthier, because that sugar is packaged up in a wonderful fiber, nutrient-filled vessel.
Basically, the delivery mechanism of the sugar is what really counts.