Hi there,
I always recommend, the easiest way to check it is via “WPS”
No -passwords, No SSID, it just works.
Go load this code from Here More WPS please....Xiao ESP32C3 & ESP32S3 test your WiFi
Push the button on your Router, should connect and present its IP address on the Serial port.
HTH
GL PJ