But not everyone.
Something I get discouraged by is when coding schools lure students by talking about salaries, because the people who are really motivated by that oftentimes don't invest the extra time to get good. They see a quick paycheck, and they signup, they put in just enough work, and then they take off. Maybe they'll put in the extra work because they're still motivated to either make more money or because they genuinely like coding, but this doesn't always happen.
In highly industrialized economies I've noticed a lot of people give up when they realize that their training doesn't give them enough to make the money they were hoping for, unless they decide to put in more self-sacrifice. If you live in an economy where the US dollar has more purchasing power, then the money that comes out of basic training might be enough to satisfy people. They got their quick paycheck. They don't have to learn the extra stuff, the stuff that makes you really good.
That's where my negativity stems from. I'll admit, just a theory, one that I've come up with to rationalize patterns when people hire me to fix outsourced projects. There's nothing inherently wrong with any country and the software developers that work there. It's a universal human desire to make money relatively painlessly and the disparities between wealth in different economies.