Essentially you are stating everyone who loses a job in the U.S. should leave the US.
Or alternatively you want to draw a line when the good immigrants are allowed to enter after which are the bad immigrants. And I’m sure that conveniently that line will ensure your family becomes part of the good immigrants.
First-generation immigrants are folks who are born outside the US and naturalize. "In the United States, among demographers and other social scientists, 'second generation [immigrants]' refers to the U.S.-born children of foreign-born parents."
Not in the strictest sense, but it's not the bright line you're making it out to be either.
More seriously, while this particular discussion centers around US visas, obviously the analogous arguments apply to other countries as well.