just try ViWizard Streaming Audio Recorder --- a good tool to convert and download Spotify, Apple Music, YouTube Music and other popular platforms of streaming to MP3, FLAC, AIFF, M4A, WAV and M4B.
In my country, Apple Music charges me $10.99. To be honest, that's very expensive for me. So, I always use ViWizard Apple Music Converter to convert Apple Music library to my own files.
I don't just use Spotify, I also use YouTube Music. I don't want to choose. At the same time, I have ViWizard Streaming Audio Recorder on my computer to bypass the restrictions of these platforms.
sometimes, my Spotify app dosen't work. in this situation, i will use Spotify web player and ViWizard Spotify Music Converter to listen my music library.