I recently got a Moto x Pure and it's great, however once I turned on Wifi everything was slow and it'd often freeze and restart. I've tried wiping the app cache, however that doesnt seem to help at all.
Welcome to Android Central! Does this happen on any wi-fi network, or just your home network? Is wi-fi calling an option for you, and if so, is it on or off?
After doing a factory reset from recovery mode, my phone stopped reading my sim card, that was fixed by taking it in and out. Then I selected my wifi, however then after leaving the phone untouched for half a minute, it crashed and reset. I have tried to do this multiple times now, however the same problems seem to occur time and time again.
The only other things I can think of would be to reinstall the firmware (not sure how easy that is with the X Pure--you'd have to look that up), or to contact Motorola if it's still under warranty.