This happened to everything it could at least 10 years ago. It turns out that if you want software that works (at all), you need to pay people well, regardless of where they are in the world. Stop reenforcing this notion that leads to massive overwork and burnout in the US (+ Canada). Germany, the UK, Sweden, etc all have much, much better working conditions for software devs and their jobs aren't going away