There are basically two responses to immigration: the racist response calls for closing borders, and the socialist response calls for workers to be as free to move through the world as the goods they produce.
No one freely chooses to work all their life to produce capital to make others rich. The worker must be robbed of the freedom to say no, to leave, or to change the system. To maintain this social arrangement everyone, including the worker, must do their part.
Socialism is the Best Medicine