Analog doesn't allow all the tricks the loudness wars required to win, so often analog really was better than digital. That is garbage in garbage out, and analog got less garbage on the input side. When someone who cares about good music in a perfect listening environment mixes and masters everything to the best of the technology, then digital is better. (but note that perfect listening environment is rare in the real world so good experts are compromising anyway to try to correct for the bad environment people listen in, this can be done well or bad)
CDs improved over LPs in dynamic range, frequency response, error correction, replayability, stereo separation, and noise floor. They also, at scale, became much cheaper to manufacture and distribute.
But if the engineers, producers and marketers insist on not using the technical capabilities, or deliberately degrading them to chase perceived loudness, there's nothing the purchaser can do except complain.
Audiophiles are the easiest marks on earth, man.
Audiophiles are safe from this device.