You can only do this if you aren't in a democracy. The people you let in will vote the welfare state back into existence.
Orrr… Wait for it… We just don’t let them in!
The people you let in can't vote, and if you haven't noticed it was citizens who voted it in to begin with