Here is how to Add your Outlook or Microsoft 365 email account into Outlook for Mac.
Open Outlook.
Type in your email address and password.
Select Add Account.
Select Done.
To add another account, select Tools > Accounts. Then select the plus (+) sign > New Account.
Also, To Secure your macOS from virus and trojans, use always a mac optimization software like Mac Optimizer.