I use a password manager (KeePass) that has the database just on my pc instead of online. The database is encrypted and locked with a password and a keyfile and I sync it with my phone over a Sync software that I'm also hosting myself on a raspberry (along with some other services). That way I have randomly created very secure passwords and a Database where they are stored that noone can access.
Edit: plus I use 2FA where possible