Log into your router and turn off parental controls on the router and the phone.
My iPhone 8 WiFi just turns of at 10 pm sharp. My phone works on other Wifi networks but it doesn’t work on my Belkin router. And the router is not the problem apparently because my little brother and parents devices work fine. Can someone please explain this to me

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic