The sugar you get from fruit is also accompanied by fiber, water and other nutrients. Also harder to overeat and generally gets released into the bloodstream more slowly. I think the argument here is to eat less (highly) processed food in favour of whole foods.
I've known people that think switching to fruit juice from sugar sodas was going to fix them; very much not. Doesn't matter where you get the sugar, sugar is sugar and is not good for you or your arteries or weight loss.