Depending on your point of view, YouTube Music is far inferior to Spotify. The key advantage to Spotify is that they have apps for all platforms and have a much better integration story than YouTube Music. For example, I can stream directly from the Spotify app on Android to my Sonos speakers, I can use a Spotify app on my Samsung TV, I can integrate Spotify on my Home Assistant server, and I can sync Spotify playlists to my Garmin watch for offline access. None of that is possible with YouTube Music.