I have all three consoles, and I can say the series x has the most bugs. in descending value, it's series x, ps5, switch. I don't really see any issues with the switch anymore, though there used to be some bugs with it. though, in that order, it's also descending in how many features you have on each console, so that might be part of the reason.
on the series x, I've had problems with sleep mode like where banjo kazooie would not have any sound. I'm not sure if that's a game bug or a series x one though. not all games are compatible with quick resume either, such as lost odyssey, though banjo kazooie is. there are also sometimes problems with edge on the system or other little things where it will say "oops, there was a problem." it doesn't ever crash the console just an issue with the default apps (never happens with games).
on the ps5, I've only encountered one main bug, and that's where the system software seemingly crashes. it won't kick you out of rest mode or crash the system, but it will ask you whether you want to send an error report to sony. it only happens when coming back from rest mode, and not all that too often.
on the switch, my first switch's nand got corrupted, and it was legit and under warranty, so Nintendo sent me a refurbished one free of charge. I've owned three switches plus that one for a total of four after the initial one failed, and I've encountered no real issues. one of my joycons for the red and blue Mario switch died, and I've had a couple of game crashes (though I've heard of this happening on the ps5 as well), but that was ages ago. I never encounter bugs with the switch now, though it's had five years or so to fix lingering bugs.
I'd say just give Microsoft and Sony a chance to make things right. I will say that the sleep mode problems with the series x do make me hesitant to buy games for the system. I know I can just exit out of the game, then go into sleep mode, but I like to resume my games (don't really like trying to find a stopping point or something).