Not true at all. You’re thinking the past 20 years instead of the past 35 years. Windows was already “the” OS around the world well before you could just pirate a copy online. They cut deals and made sure if you bought a pc it has windows on it. They made sure the countries you speak of had dirt cheap cd keys without piracy. Microsoft in the late 80s/90s had a lot of moving parts that went into making sure the only OS you’d be using was windows. Even after they got in trouble in 1992-94 and in 2000-2001.
Piracy or not. Windows was almost anyone’s only choice.