I recently moved back to Arch Linux after spending the last few years using a hackintosh full time. There shouldn't be any reason to need to keep installing an OS; if you're competent, you should be able to correct any issues.
For many peoples workflows including my own, Windows would pose a far greater headache to get to a productive state. macOS works great, up to the point where you want to enjoy freedom to use your computer as you see fit, certainly less hassle for development (in general) than Windows though imo :)
In my younger days I had the patience to install Ubuntu over and over again. In my 30s I simply no longer have the heart for it. My M1 mac just works out the box and I can spend more time working on my games and music.
I still enjoy building PCs from time to time, but even then I just install Windows and move on with my day