Error "The network security key isn't correct" usually occurs when you are trying to connect your computer to a Wi-Fi network ...
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.