Arduino Uno R4 Wifi does not connect to Wifi

Your 2.4Ghz Wifi´'s SSID and password should not be too long or have special characters. Check/Review also your router's wifi security settings. Try using the same settings you used for your hotspot wifi.