And in a lot of ways the underlying engineering of Windows remains superior, once you scrape away all of the layers of garbage the services offerings have foisted on it. Windows 10 Mobile was so much more performant than Android it isn't even funny. Linux OSes still have an annoying habit of not automatically recovering their disk drive when the power cuts out. The occasional moment you discover that shadow copies/journaling is like... not something Linux machines generally do unless you very specifically choose otherwise...
If someone actually scraped the turds off the top of Windows, everyone would move to it. The problem is the turds are profitable. The primary difference between Linux and Windows is not engineering, it's capitalism.