“What does the Bible say about immigration?”
Adam & Eve lived in the Garden of Eden. They immigrated to another place.
Descendants of Ham, Shem & Japheth immigrated to other places.
Noah & descendants immigrated to various places.
The children of Israel immigrated to Egypt.
After hundreds of years as Egyptians, the children of Israel immigrated across the border into Sinai & then North & West.
Need I continue? The Bible, like human history, is full of individuals and groups of people moving from place to place.
Catherine the Great invited my Amish/Menonite ancestors to move from Holland to Crimea. They were immigrants long before the immigrated to England and then to the US and then to Canada.
The Israelites “immigrated” to Canaan, then killed everyone they saw.
There were no foreign nations, foreign or otherwise, at this time.
Descendants of Ham, Shem & Japheth immigrated to other places.
Similarly, there were no other peoples or nations when Ham, Shem & Japheth immigrated.
Noah & descendants immigrated to various places.
Noah & descendants would have been the genesis of tribes and nations following the flood. There was an entire unpopulated world for Noah descendants to occupy. There was no immigration as we understand it today.
Scriptures that apply to illegal immigration.
"Let every soul be subject to the governing authorities. For there is no authority except from God, and the authorities that exist are appointed by God." - Romans 13:1
And Jesus said to them, “Render to Caesar the things that are Caesar’s, and to God the things that are God’s.” -Mark 12:17
*emigrated.
What does the Bible say about obeying the laws of the land?
Romans 13:1-5 ESV
Let every person be subject to the governing authorities. For there is no authority except from God, and those that exist have been instituted by God. Therefore whoever resists the authorities resists what God has appointed, and those who resist will incur judgment. For rulers are not a terror to good conduct, but to bad. Would you have no fear of the one who is in authority? Then do what is good, and you will receive his approval, for he is God's servant for your good. But if you do wrong, be afraid, for he does not bear the sword in vain. For he is the servant of God, an avenger who carries out God's wrath on the wrongdoer. Therefore one must be in subjection, not only to avoid God's wrath but also for the sake of conscience.
Titus 3:1 ESV
Remind them to be submissive to rulers and authorities, to be obedient, to be ready for every good work,
Romans 2:13 ESV
For it is not the hearers of the law who are righteous before God, but the doers of the law who will be justified.
1 Peter 2:13-17 ESV
Be subject for the Lord's sake to every human institution, whether it be to the emperor as supreme, or to governors as sent by him to punish those who do evil and to praise those who do good. For this is the will of God, that by doing good you should put to silence the ignorance of foolish people. Live as people who are free, not using your freedom as a cover-up for evil, but living as servants of God. Honor everyone. Love the brotherhood. Fear God. Honor the emperor.
Romans 3:31 ESV
Do we then overthrow the law by this faith? By no means! On the contrary, we uphold the law.
Adam and Eve didn't emigrate from Eden. They were deported for breaking God's commandment. (Genesis 3)
Noah & descendants immigrated to various places.
No, they didn't. They all gathered into one place, (Shinar) again, breaking God's commandment. When they sought to make themselves equal to God, He confounded them by making them all speak in different languages so they were forced to spread out. (Genesis 11)
After hundreds of years as Egyptians, the children of Israel immigrated across the border into Sinai & then North & West.
The Egyptians never considered the Hebrews to be Egyptian, nor did the Hebrews ever consider themselves to be Egyptian.