Let me know if this sounds familiar. You sit down to knock out some emails or maybe you're trying to check your grocery list. Your iPhone really, really, really wants you to try and join one of any number of random WiFi networks. It can be downright annoying. Thankfully it's super easy to "fix".
Visit Settings > WiFi (it must be enabled) and turn off 'Ask to Join Networks'