Tried to upgrade to a new machine last month. New-ish (and not name brand) hardware made Linux unusable on it (keyboard & BT wouldn't work), while Windows was passable. After some work I decided to try working on Windows again. Honestly the worst OS experience I've had in years, because at every step there's some default setting that basically equates to "Microsoft will do whatever they want on your machine" and it's hard to turn off permanently.
Then I tried to go back to Manjaro where I had a stable work experience from 2020-2022, and compared to macOS, it was just a pain getting the same dev environment back up. Ubuntu wouldn't have been much different.
I dislike Apple for a lot of things, and really don't like the absurd Apple Tax on having a usable amount of RAM, but it is still the best (and most stable) dev machine I've had in years.