This is terribly misleading. The format used does contain the password so your password is still being shared:
* https://en.wikipedia.org/wiki/QR_code#WiFi_network_login
* https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-n...
I'm saying misleading because there is an interpretation of that sentence that is technically correct: Some people might use short passwords so that they can tell them to guests. With this feature, they can use longer secure passwords. In this interpretation, "keeping your passwords secure" would refer to the entropy of the password instead of how shared it is. However, when you normally read this sentence, this isn't the interpretation that comes to your mind.
I guess that some internal document written by people who understood the difference had something like "with this feature you can have now secure passwords and you are still able share them with guests". Then someone without awareness of this difference reformulated it into the current form.