You have to have a different password for pretty much every account you own if you care about privacy. However, this can make keeping up with all your passwords ...
In macOS Sequoia, Apple has changed how the operating system stores passwords. Instead of using Keychain, Apple Passwords stores passkeys, verification codes, and Wi-Fi credentials all in one place.
There are multiple ways to view the Wi-Fi password, but using Settings is the easiest. The Netsh utility, accessible via Command Prompt, shows passwords for all the networks you've ever connected to.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results