Password manager URL match security

Wondering > Does URL matching ensure that password manager stored website credentials will match the intended, correct, legit website.

I mean does URL spoofing (any nasty manipulation) present the possibility that password manager stored website credentials find the not intended, not correct, not legit website.

Curious > Will password manager creds intended for https:// anysitedotcom fill http:// anysitedotcom.