It's still competing globally. Although it can be said that american coders are above average globally, to earn an American wage every one of them will have to be top 1% in quality.
So then the people who aren't skilled enough will have to either improve their skills or go find something else that better fits their skills. Competition is good.