Require every one coming into this country to either post a cash bond or have a sponsor who is both financially and criminally responsible for them.
My wife knows an older woman that came here from England probably 50+ years ago. She said she had to prove that she was married to her husband (also English), and that he had a job waiting for him that paid enough money so they wouldn’t need hand-outs from the government.