Hello rehansaghir,
Thanks for asking the Apple Support Communities for help with connecting to your home network.
Since your device sees other networks in the area to connect, your device seems to be operating correctly. Please verify your network meets these requirements: Recommended settings for Wi-Fi routers and access points - Apple Support
If your network is hidden or captive, check this article: Use captive Wi-Fi networks on your iPhone, iPad, or iPod touch - Apple Support
If your device won't connect to any network, please verify you did all the troubleshooting here, including try resetting your network settings once more: If your iPhone, iPad, or iPod touch won't connect to a Wi-Fi network - Apple Support
Thanks and have a wonderful day.