If I were to delete Apple Music do I still have the albums and songs I downloaded with Apple Music?

If I were to delete Apple Music do I still have the albums and songs I downloaded with Apple Music

I don't understand that if I choose to delete Apple Music if I keep the music I had with the app
Welcome to iMore! By paying a monthly membership fee for Apple Music you are essentially paying for the rights to the songs you stream or download. Therefore, you will lose access to all of it when you cancel your subscription, including anything you've downloaded to your device.

Original thread: https://forums.imore.com/threads/if-i-were-to-delete-apple-music-do-i-still-have-the-albums-and-songs-i-downloaded-with-apple-music.349508/