Avoid to use digital storage of your wallet's recovery details (mnemonic words and if applicable the optional mnemonic passphrase).
Keepass or any other software password manager is software on your device and if your device is online it is potentially vulnerable to malware. Malware could steal your master password of your password manager when that malware gains system level privileges. No software can protect itself from such malware with elevated privileges.
As Z-tight says, better stick to backup your mnemonic recovery words only non-digital ie. write them on paper and optionally stamp them into metal for fire and other hazards protection. An analog backup is not reachable for malware, period!
If you want security from malware use a decent hardware wallet (stay away from Ledger in my opinion) or an air-gapped wallet in the proper way. Regardless of your chosen setup, always carefully verify every detail of your transaction before you sign and broadcast it!