Of course, you can get overweight by eating too much sugar, but it's really about not eating too many calories long-term, regardless of the source.
And of course, refined sugar isn't healthy at all and consumption should be kept to a minimum, outside of exercise.