Hi JLC47,
Welcome to the Apple Community,
where some of us do our best to help each other.
Apple support have various articles online that might help you troubleshoot:
If your Mac doesn't connect to the Internet over Wi-Fi:
https://support.apple.com/en-us/HT202663
Solve internet connection problems on Mac
https://support.apple.com/en-au/guide/mac-help/mh11395/mac
Setting up a shared internet connection for iPhone and iPad on your Mac:
https://support.apple.com/en-au/guide/deployment-reference-ios/apd4d84e59c0/web
Learn how to use Wi-Fi, Personal Hotspot and ethernet to connect to the internet with your Mac
https://support.apple.com/en-au/HT201735
Recommended settings for Wi-Fi routers and access points
https://support.apple.com/en-us/HT202068
Troubleshoot joining a Wi-Fi network on Mac:
https://support.apple.com/en-au/guide/mac-help/mchlp2725/mac
Hope something here works for you :)