Yes. If your iCloud Keychain is synced, changing the password on one device will change the password on other devices, too. However, if your other devices and the Mac are not connected via iCloud or synced via iCloud Keychain, then you’ll have to change passwords manually on each device.