That is literally what we've been doing in the UK for decades. It works!
So has Germany and any other wealthy nation. Locals don't want to work for poverty wages but there's a virtually unlimited number of desperate people worldwide willing to. That was my point.