I'd rather see no homeless people on the street (a decently-sized problem in my part of the US) than more homeless people who are still better off than they would be in their old nation.
I'm unconvinced that there exists some sort of moral imperative that we need to seek the suggested path instead of working towards only temporary frictional unemployment and better care for everyone currently in our nation.