CDs are better than vinyl and most people listen to music on systems that sound dreadful
CDs are in every way better than vinyl records. They are smaller, much higher quality audio, lower noise floor and don't wear out by being played. The fact that CD sales are behind vinyl is a sign that the world has gone mad. The fact you can rip and stream your own CD media is fantastic because generally remasters are not good and streaming services typically only have remastered versions, not originals. You have no control on streaming services about what version of an album you're served or whether it'll still be there tomorrow. Not an issue with physical media.
The vast majority of people listen to music using equipment that produces audio of poor quality, especially those that stream using ear buds. It makes me very sad when people don't care that what they're listening to could sound so much better, especially if played through a hifi from a CD player, or using half decent (not beats) headphones.
There's plenty of good sounding and well produced music out there, but it's typically played back through the equivalent of two cans and some string. I'm not sure people remember how good good music can sound when played back through good kit.
I think most vinyl purchasers nowadays buy it for the novelty and as collectibles rather than quality. The ones who would die on a hill arguing that vinyl is superior quality are a minority. As for the second point, a lot of people can’t afford high quality audio gear, and some are not tech literate enough to know that Beats by Dre are cheap junk on the inside.
However, you also have to remember that music nowadays is mixed with the lowest common denominator in mind, which is cheap audio gear. Competent sound engineers know to make sure to test that their mixes also sound good on mid-low tier audio gear, which is the vast majority in the market. Unless you’re Christopher Nolan who insists mixing his movies for high tier cinema equipment only when most people will watch them on a tv and maybe with a soundbar, so it sounds terrible.
Vinyl is the best at being vinyl, and if you value that CD’s don’t work for you. If you value CD’s, you may as well just get the music digitally. There is no advantage to listening to a CD over the digital file that would be burned on said CD.