Rather than go to another country to make a living, what if a big company create a factory in that place instead? Because of the weaker economy, the average salary would be lower compared to other more developed countries (which is why the big company would be interested to setup the plant there) but it'll create jobs and contribute to the local economy significantly. And it'll definitely reduce people running away to other countries and being productive elsewhere.
I'm awake, what am I not getting here?