Windows as a software package would have never been affordable to individuals or local-level orgs in countries like India and Bangladesh (especially in the 2000's) that are now powerhouses of IT. Same for many SE Asian, Eastern European, African and LatinoAmerican countries as well.
Had the OS been too difficult to pirate, educators and local institutions in these countries would have certainly shifted to Linux and the like. The fact that Windows could be pirated easily is the main factor that led to its ubiquity and allowed it to become a household name. Its rapid popularity in the '00s and early '10s cemented its status as the PC operating system. It is probably the same for Microsoft Office as well (it is still a part of many schools' standard curricula).
The fact that Windows still remains pirateable to this day is perhaps intentional on Microsoft's part.
I think it is the other way around; easy pirate versions appeared becuz windows was popular, providing access to those who can't afford.
Or Windows just works on so much different hardware. You can build a PC with the weirdest mix and match of hardware, and Windows will just… work. Also I bought a Microsoft sidewinder wheel from 1998 from a thrift store for $8, plugged it into my Windows 10 PC, and it just worked. Nothing special was needed. 1998 hardware literally plug and play on Windows 10 (and I've tested it on 11, and it works the same).
You can install MacOS on non-Apple hardware, but you need to buy very specific hardware, and download very specific hacks, to make it work.
Even Linux only works on specific hardware. This entire thread has people talking about how broken Linux is on their setups. The suggestions are to buy specific hardware and run very specific versions of Linux.