KeepassXC is always the answer unless you need to share passwords, then the answer is bitwarden but you have to figure out hosting or pay for it. I have been using Keepass for like 20 years. In the last 4-5 years, I use KeepassXC and it gets synced to other devices with syncthing.