Problem with music sounding bad doesn’t really have much to do with the distributed format: V0, V1, or 320 mp3s should sound pretty much the same compared to 16-bit flac. You can only the difference between mp3 and flac at shitty bitrates no one uses anymore (like 120). The reason why a lot of recent digital music sounds bad is because of the intentionally terrible mastering. Since everyone is listening of crappy ear…
In my opinion that‘s a myth and certainly not a given. There are plenty of subpar vinyl masters and terrible pressings out there. And it‘s not that difficult to find good digital masters these days. More important than the medium is the genre, label and target audience - I have a pretty obscure and diverse taste, including rarities from past decades which are finally being re-issued for the first time and while mixdowns certainly vary in quality it‘s mostly fine and the result of a careful process these days.
However things might be worse when it comes to mainstream music.