I beg to differ.
You're either ignorant or have no idea how many SW and HW you interact with regularly from big name companies, has been through the hands of skilled Indian or other offshore devs which while being cheaper than American devs, are in now way worse programmers, sometimes the opposite.
You seem to equate pay only with talent and skill, but that's rarely the case. Lower paid international devs aren't necessarily worse than their American counterparts and well paid American devs aren't always better than international talent.
Your pay is more a function of opportunities and supply/demand in your area rather then purely on your own skills. Otherwise explain me how the same international devs who struggle to crack 50k in their own developing country can suddenly score 200k+ the moment they're in the American labor market. They don't magically become 4x better coders the moment they cross the border.