Assuming everyone has all the problems you claim to have with Windows or XPSs and that MacOS is 'the best operating system' is anecdotal at best.
We've definitely had some issues with some XPSs at work but Dell's service was great, and I can't remember the last time someone got annoyed by windows or had any issues like you described without the fault coming from poor choices from our corporate IT or buggy apps.
Highlighting these as issues on a machine compared to a Macbook Pro is kind of hilarious. Macbooks have notoriously bad thermals and throttling.
I prefer Windows to IoS and the XPS to MBP, but the XPS has problems - it does overheat like hell (but Dell's gaming laptops don't, so there is that). But more importantly, the screen randomly dies on random updates for me and a lot of my co-workers. So does the WiFi.
Nonetheless, we had entire teams convert to the XPS after they saw mine.
None of them regretted it...though they all installed Linux and stopped having the screen going dead problems.
I still prefer the Mac OS experience, design, and usability, but the price premium for Apple products is not worth this modest improvement. I still have and enjoy my Iphone Xs but might consider switching to Android in a couple years whenever I need to upgrade.
In general though, I've not had those kind of hardware/driver issues ever.
macOS is getting worse, no doubt. But Windows still has multiple unacceptable problems (ungodly slow unzipping, still!, random heavy lag or freezing, surprise 30 minute Windows Update installations happening during a reboot you had to do during important work, etc. etc.)
Plus, the day to day file management story is still sub-par in Windows. If you've gotten used to Quicklook on a Mac (because it's so handy), you're SOL on Windows. How hard is it to provide a spacebar activated preview popup?
PDF reading and printing is still a nightmare on Windows compared to macOS. Again I refer to Quicklook, whereby you can open and scan/read a PDF near instantaneously; in Windows it's slow and clumsy. Saving (printing) anything as a PDF on a Mac is fast and easy. In Windows it's a slow, multi-click process.
And Linux... on the desktop... still not there. Yes with the right hardware and the right drivers and config, distros like Fedora can be pretty close to perfect. But you still have HiDPI problems sometimes (Windows does as well), random UI-related service crashes, app/package-system conflicts (since there is no one standard package management system that all apps agree upon), and more.
Sadly, the entire computing experience has peaked and declined in the last few years. That said, macOS is still the best desktop OS for everything but gaming.