I have a Keychron which claims to be wireless.
Set it up - connects, then the Mac drops the connection. Unpair it, pair it again, connects, drops… rinse and repeat. Finally a stable connection, use the keyboard, go away, machine goes to sleep, click the mouse - ‘what keyboard?’
It’s now a wired keyboard.