You need to take these steps to stop your iPHone from trying to be overy helpful and joining networks that you do not wish to use.
Using this setting will keep the iPhone from prompting you to join networks that are unknown:
Settings > Wi-Fi > scroll down, then set "Ask to Join Networks" to "Notify"
However, moble carriers include a list of Wi-Fi networks that your phone will automatically join. To stop this, you need to check to see if your phone has joined one, go to setting for that particular Wi-Fi network, and disable the Auto-join option. Once you do this, the phone will no longer join that cellular provider's Wi-Fi network.
Additionally, if you have ever purposely (or accidentially) joined a network in store or other location, then you will need to check if you are joined to a network. If so, go to setting for the network and select "Forget this network". Do not just "disconnect" you need to forget the network or it will rejoin again.
An additional setting to set is Settings > Wi-Fi > Auto-join Hotspot > "Ask to Join" (to prevent automatic)
Also, in Settings > Apps > Phone > Wi-Fi Calling > OFF