If you don't want immigrants coming to your country stop baiting them here with freebies.
Every developed country needs immigration, we can discuss about the kind of immigration that you need. But I would assume the immigration that you need would not be there for the freebies.