Hi,
First of all, check if the password you're using is correct.
Then check the encryption.
If you're still unsuccessful, try another WiFi Access point like a hotspot shared from your phone or just another AP around you.
Is the device new or was it used at some point? Did you update it without keeping the settings?
EB.