How about the clothes you are wearing, do you think they get your the same wage as a worker in the US or Europe? But I bet you like the cheap clothes...
Your Amazon warehouse workers... the aviation repair people in El Salvador... the list is endless. Offshoring can make certain products cheaper and software is no exception.
Software is particular because it is not tied to production location, but that does not mean you are not subject to market forces.