Don't use web/cloud - based password managers. See LastPass
If it's only for you, then KeePass or Bitwarden/Vaultwarden are both self-hostable (keepas doesn't even require a server for sync).
Bitwarden does have a multi-user/sharing capability when used with Vaultwarden.