WordPress never stores your actual password — it stores a cryptographic hash of it. If an attacker gets access to your database (through a separate vulnerability like SQL injection, a misconfigured backup, or a compromised plugin), the real risk isn't that they can "read" your password — it's whether the hash is weak enough to crack, and whether your site's configuration gives them an easy path to steal that database in the first place.
Read more: How WordPress Password Hashing Works — and How to Harden It