Same issue for my Razer mouse on macOS Big Sur, followed the guide by @Avaddons, but missing the 'Allow' button in the system preferences and got the error:
Extension with identifiers com.razer.common.razerhid not approved to load. Please approve using System Preferences.
messed around this error for a long while, finally given up and found another "Solution"!
Unplug the Razer mouse
Connect the Razer mouse USB receiver to the Mac
The Razer mouse works in wireless mode, but sometime it will have some shutter, not really 100% reliable connection, but it works at least. Razer really not give a damn for the Mac users....