I don't think Linux is trying to replace Windows. It's more like... Linux is the only useful option for certain scenarios (eg on server), and more and more people learn that it's pretty useful and performant on desktop as well. Windows users are regularly astonished how computers can be used!
It's less a fight, more like natural selection ;-)
And I don't see that anything has failed!?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!