iTunes Music download all songs to be available offline
You can create a smart playlist with the attribute iCloud Status, is, Apple Music and Location, is not, on this computer.
If you can change the Apple music attribute with purchased.
Also check the checkbox live updating.


Now you can make the playlist available offline by downloading it at your device.

More information: Apple Support