Cann't set up account

‘Authentication Error - Check your username and password. (IMAP)’ on iMac

Incoming Mail (IMAP):

red line around Username and Password.

I used the same as Outgoing Mail. Why is this wrong?