Note: Before doing a replacement of a equipment screen it is always best practice to make sure there is no issue with the equipment's Bluetooth as well. If possible, then use a device/phone to try and connect the equipment via Bluetooth to make sure the Bluetooth connection is working.
Make sure you are connecting to a 2.4GHz network connection and not a 5GHz network connection.
If the connection continues to fail, turn on a mobile/personal hotspot to see if the screen will connect to the hotspot.
If the equipment screen connects to the hotspot, then it is likely that the culprit is not the Wi-Fi adapter in the equipment screen, instead it may be a problem with your router. In that case, you would need to restart the router and then make sure it doesn't need a firmware update. If you do not know how to check for an update, then you would need to contact your internet service provider to find out how.
In the case that the screen will not connect to the hotspot, and you have already cleared the app cache, if you are still within warranty, then you may request for a warranty replacement of the screen.