Just use a proper, encrypted password manager such as KeePassXC and store backups of the encrypted database file on external media.
There are also services such as LastPass if you require syncing across multiple devices and a remote backup, but I prefer just local storage.