For most of my needs, spotify works out. I don't mind paying $10/mo since I use the offline listening so much. I only buy and rip CDs for my own collection if I -really- like that album or a song on it, and a web download isn't available. Occasionally spotify doesn't have a very specific version of a song–Legend of a Mind by the Moody Blues from the 1967? BBC recording sessions comes to mind. Or artists like King Crimson.
I don't buy through itunes because of drm and the lack flac/alac options–why would I buy an mp3/m4a/aac file that I'm stuck with and can't transcode if needed? Bandcamp is a great alternative if the band you want happens to be on there. The app isn't too bad either if you forgot to download and sync an album.
Other benefits of ripping a CD or downloading a flac/alac file include having a perfect lossless copy. I can then transcode to any format that I want, whenever I want, however I want, from now until forever (or at least until the storage goes bad/breaks), without losing any quality.
With spotify pro + ublock origin, I never see ads on spotify or youtube anyway.