This is why it’s usually encouraged to just say “invalid combination of username/email and password”, instead of specifying which is incorrect.
I keep telling my team this all the time... The push back is always from the support side that says "well users complain that they don't know what's incorrect to fix." and my answer is always "they got their own credentials wrong... it's ALL incorrect. Do it over".
But that's "user hostile".