This is not true; juice has useful nutrients. You can make vegetable and fruit juices which are fairly low in sugar and are packed with vitamins and minerals.
And you tend to get enough of those nutrients from other sources of food nowadays. While it's true that some juices can have less sugar in them, the most common ones don't. Apple juice will not have less sugar than a soda.