Hi sly5726,
Welcome to the Apple Community where some of us did the best we can to help troubleshoot.
Wondering which Mac (+ Year) and which OS (Big Sur / Mojave) you are using.
If you can't connect to the App Store, iTunes Store or other Apple services:
https://support.apple.com/en-au/HT201400
Set up and view an iTunes Store account in Music on Mac
https://support.apple.com/en-au/guide/music/mus46db3a1a/mac
Re: "Genius has an error and iTunes store does not recognize my library"
Apple support have an article online that may help
Use Genius Shuffle or Genius Playlists in Music on Mac
Turn Genius on or off etc.
https://support.apple.com/en-au/guide/music/musbe3694c1b/mac
Re: Downloading to iCloud:
Turn on Sync Library with Apple Music
https://support.apple.com/en-au/HT204926
Hope something here helps :)