You can export your passwords from chrome as a CSV and then import them into Firefox's password manager. Although, best would be using an external password manager that always keeps your passwords encrypted, like bitwarden. Remember to delete the file (shred even) and reboot so your passwords aren't hanging around in disk/memory. Same goes for bookmarks, although those are less sensitive.