Running Windows at work, and macOS at home, I don't see a huge difference in reliability. In both cases, it comes down to external hardware support.
Off the top of my head, I recently had an issue with the Paragon NTFS driver for macOS, triggering a kernel panic in a repeatable but avoidable scenario. One could argue that third-party driver crashes aren't Apple's fault, but one could also argue that Apple really
should have native NTFS support.
On the Windows side, my work laptop has sleeping trouble. Sometimes USB doesn't reconnect, sometimes window positions on external monitors get scrambled. It all seems to be related to the (first-party) docking station. On my Surface tablet, which doesn't connect to much periphery at all, everything works fine.
I will say, however, that the amount of parasitic almost-ads that Microsoft pushes for things like Edge, Bing, and OneDrive, is highly annoying. Theoretically similar things exist in macOS, but they're generally disabled with a single clearly marked setting, and don't come back on every software update.
In terms of flexibility, it is mostly a wash, I would say. I can easily replace my entire start menu in Windows, with tools like
Startallback. Such things are not possible on macOS. But then there's things like
MonitorControl or
SoundSource or
BetterTouchTool that don't have a good Windows analog. On the other hand, there's
AutoHotKey and
MagicUtilities, so it's not like such things don't exist at all on Windows. It mostly just depends on what cool things third party developers build. Even the Unix shell is no longer a macOS-only feature, now that WSL exists.
(The reason I run macOS at home is simply to separate my work environment from play. It feels less like work if it looks a bit different, even though I'm using the same desk and periphery for both.)