They are both capable of fine performance but digital sources are far more cost effective. Vinyl playback is a REALLY deep rabbit hole. You can't match the best digital performance until you spend at least $35,000 in total on a record playing set up. You still have to contend with bad pressings, warped records and a host of other issues.
Us old guys with huge record collections have no choice but younger people without records are better off staying digital and spending the money on music.