Delete Wi-Fi network from mac
Disconnect from your current network:

sudo /System/Library/PrivateFrameworks/Apple80211.framework/V*/A/R*/airport -z

Go to System Preferences → Network → Wi-Fi → Advanced… and remove the network from the list of preferred networks.