Hello, I’m Virginia a fellow windows user.
You will either need to delete the account & add it again or create an app specific password via your Yahoo account online & enter this instead of the account password.
If you delete the account then during setup choose Yahoo & follow instructions, it will ask you to authenticate & take you to your Yahoo sign in page, once signed in you’ll continue setup. This is due to the new OAUTH 2.0 authentication which has been introduced.
As you’ve added the account again then check to see if there’s a setting to download all mail, I’d also check to see if the old mail is still on the server.
Outlook can be temperamental with non Microsoft accounts so you may have to use a non Microsoft email client to view old mails as many users have said older mail is being deleted/hidden for them.