CD vs Streaming…this topic has been beaten like a dead horse. As @jon2020 pointed out there are so many variables when comparing the two formats. I stream via Qobuz and there are many recordings that sounds exemplary and there are many that don’t; not because of any compression but due to original master source. Same applies to CD’s as well. Not all CD’s sounds great. I am streaming 95% of the time but still buy select CD’s that are mastered from analog tapes.
My suggestion to the OP, don’t get caught with which format sounds better. IME, Streaming, CD or Vinyl can all sound amazing when fed with a well mastered recording.