Could not authenticate means your username and password are not accepted. If you are sure your password is correct, then Google has disabled your password auth and you may have to use OAuth 2.0 instead.
See https://wordpress.org/support/topic/smtp-error-could-not-authenticate?replies=2