iPhone says wifi password is incorrect but it isn't
I was on my phone and noticed that it went from being connected to the internet to LTE. I went into my wifi connections to see what was wrong and it said my password was incorrect. I triple checked but the password is correct. My desktop, laptop, and ereader all are connected with no problems. I read some troubleshooting advice and tried restarting my phone which did nothing, I restarted my router which did nothing and then I reset network settings which made it worse because before I did that I could still connect to xfinity hotspot, it was only my network that wasn't working. Now it's telling me that my xfinity password is incorrect as well which it is not, so I cannot connect at all and am stuck using data if I want to use my phone to connect to the internet. This is an iPhone SE iOS version 17.2.1
iPhone SE, iOS 17