Shared passwords written in notebooks or WhatsApp chats are a common cause of account takeovers. A password manager stores them encrypted and generates strong new ones.
Offline managers such as KeePassXC keep the encrypted file on your own device — back it up somewhere safe.