An attempt is a failure - even if true, but
the messages purporting to be from Yahoo are scam messages, sent out randomly to many accounts. Have a strong password, keep it confidential. Do not click on any links.
True attempts are actually very common, but nobody will warn you.
Account activity -
https://uk.help.yahoo.com/kb/account/find-remove-u.