What router do you have ?
Default the router to factory settings and default the doorbell and try again
If you can't get passed the WiFi issue try taking the doorbell elsewhere ms try it on another WiFi router , just so you can narrow down where the problem is
Also did you buy this new or used? I would see if the device needs an update of firmware but be difficult if it's not connecting .....