Using a password manager to keep your passwords safe is a good practice. I’m still a bit hesitant to use the cloud based options. Even though all is encrypted. I use KeePass and OneSafe. Currently looking into the new password manager from Proton to investigate whether that is a good and practical one to use.
I selfhost Bitwarden (technically Vaultwarden) and I highly recommend it. I was very hesitant to selfhost a password manager knowing that I'll need access to those passwords in case my server goes down or has some sort of problem, but caching on devices as well as a good backup/restore strategy has helped me feel a bit more comfortable about it.
That being said, Bitwarden's cloudhosted free option is secure and sufficient for most people.