I think states and countries are different.
Securing our house means not having immigrants come in which most of them will end up on welfare, while over 50 million of our own citizens are are food assistance etc. etc. etc.
We are under no constitutional obligation to take in immigrants nor to use constitutional ideology in vetting them. They are not citizens. Again, the US does not need anymore immigrants at this juncture.