Body
Overview
Your Mac may automatically join a wireless network you have previously connected to. This can occasionally cause problems with connecting to the correct wireless network or the wireless network you intended to join.
The steps below detail how to remove unwanted Wi-Fi networks from your list of Preferred Networks in macOS. This will prevent your Mac from automatically joining specific wireless networks.
Instructions
1. Click the Apple menu in the upper-left corner and select System Settings.

2. Select Wi-Fi from the settings on the left, scroll down on the right and click Advanced.

3. Under the Known Networks section, find the network you wish to remove and click the circle with three dots in it.
4. In the window that pops up, click Remove From List.

5. Click Remove in the confirmation window that appears.

6. Repeat the above process for any other networks you wish to remove.
7. Once you have finished removing networks, click Done.
See Also