Hello TKenneth,
Thank you for using Apple Support Communities.
I understand that you have music on your iPhone that isn't showing up on your Mac. You don't mention Apple Music, so assuming that you do not have an Apple Music subscription, you can redownload your purchased content. See this support article:
Redownload apps, music, movies, TV shows, and books from the App Store, iTunes Store, and Apple Books - Apple Support
If you have Apple Music, see this support article to activate Apple Music on the Mac:
Turn on iCloud Music Library with Apple Music - Apple Support
Best regards.