Hello NJennyL,
Now at what part of the process is it not working. When you open the Mail application and select Mail > Add Account, are you not getting the "Choose a mail provider screen"? Does that come up but once you select Gmail, nothing happens when clicking the Continue button? Are you able to select Continue, but then nothing happens after you enter your email address and password?
Add email accounts in Mail on Mac
If you have any type of VPN or security software enabled on the computer, try temporarily disabling that and see if it allows you to complete the setup.
You can also try starting the computer in safe mode, and see if you're able to setup the account when it's running in that mode.
Start up your Mac in safe mode
Trying theses steps can help with isolating this issue that you've been experiencing when trying to add the mail account to your Mac.
Cheers!