I have this problem too, maybe Screen Time Restricts access to the Internet here it is
Check for Any Software Updates & Restart Your Mac. ...
Disconnect All USB Devices from the Mac. ...
Create A New Wi-Fi Configuration in macOS Big Sur. ...
Create A New Network Location With Custom Settings. ...
Reset the NVRAM on your Mac. ...
Reset the SMC of your Mac. ...
Reset the Wi-Fi Router / Modem.
Try to connect to a different network.
Topic:
App & System Services
SubTopic:
Core OS
Tags: