The only thing that can defeat unemployment is unions.
Software engineers need to unionize. There's no other way to solve the problem.
Companies won't be able to get their software off the ground if a union doesn't allow them to hire coders for low pay on the country's soil.