There as way round that, replicators require energy and energy is not finite. Whatever is replicated is reduced quality like food and drinks, the only thing the machines get right is water.
I doubt most people would be able to tell the difference in a blind taste test.
My head canon is that this is the technological difference between TOS food synthesizers and TNG food replicators. The 23rd century synthetic food tasted fake, artificial. Like something out of a vending machine. Food like. By the 24th century the technology had advanced to the point that the quality and taste was virtually indistinguishable from the actual product. Only snobs like Picard thought they could tell the difference.