Hello,
If your Gmail works on your phone, the account is active. In Classic Outlook for Windows, go to File, Account Settings, Account Settings, select the affected Gmail account, then click Repair. If repair fails, remove the account and add it again using Add Account so Outlook completes the secure Google sign in required by Microsoft. Also confirm IMAP is enabled in your Gmail web settings under Forwarding and POP IMAP.