My iPhone won't connect to a Wi-Fi network but other phones will?

Me & my friends use a Wi-Fi & it has a password & when ii try to connect it says the password is incorrect but it works for my friends devices. They have iPhones & androids. They tried to put it in my phone too typing the exact password and it still says it's incorrect. Ii reset my network settings & all. They said it's just my phone but there's gotta be a way to fix this.

Contact apple support

In "Settings" | "Wi-Fi", select the troublesome network. Hit the Information icon ("i" in a circle) and select "forget this network".

Then, try again, with the SSID and password.