Connecting My Arduino Uno WIFI to WIFI

You are telling it which SSID to use but you dont seem to be giving it the password when it needs it.

Maybe insert "WiFi.begin(ssid, pass);" << see line 19.