This is usually a stuck stored credential or a token that will not refresh. On Windows, open Credential Manager, Windows Credentials, and remove the saved Outlook/Office entries, then reopen Outlook and sign in fresh. Make sure Outlook is fully updated, and if it is a work account try the web version to confirm the password actually works, an expired password or an access policy can cause it. Removing and re-adding the account is the reliable reset.
If your work uses 2FA, the account may need an app password or a re-consent rather than your normal one. Check with whoever runs your email, the prompt loop is classic for an expired token.
A repeating password prompt usually means a stale cached credential, not a wrong password. On Windows open Credential Manager, delete the Outlook and Office entries, then reopen Outlook and sign in fresh.