how do I get my iTunes music to sync back with my iPhone.

my music is not longer available for me to sync when i hook up my iPhone with my iMac. It just tells me it is all in the iCloud Music Library. Songs can be downloaded and played via Wi-Fi or a cellular network.

I do not want my music to be available this way. I want my music that i select to be on my iPhone for me to play at any time...

Please help
Welcome to iMore! The method depends on how the music was purchased and what services you subscribe to (Apple Music, iTunes Match). Follow the link for specific instructions.
https://support.apple.com/en-us/HT204599

Original thread: https://forums.imore.com/threads/how-do-i-get-my-itunes-music-to-sync-back-with-my-iphone.357625/