First see what God said about refugees.
33 " 'When an alien lives with you in your land, do not mistreat him. 34 The alien living with you must be treated as one of your native-born. Love him as yourself, for you were aliens in Egypt. I am the LORD your God.
21 “You are to distribute this land among yourselves according to the tribes of Israel. 22 You are to allot it as an inheritance for yourselves and for the foreigners residing among you and who have children. You are to consider them as native-born Israelites; along with you they are to be allotted an inheritance among the tribes of Israel. 23 In whatever tribe a foreigner resides, there you are to give them their inheritance,” declares the Sovereign LORD.
You are to have the same law for the alien and the native-born. I am the LORD your God.
"Do not mistreat an alien or oppress him, for you were aliens in Egypt.
Do not go over your vineyard a second time or pick up the grapes that have fallen. Leave them for the poor and the alien. I am the LORD your God.
All the land belongs to God, no where in the Bible does it suggest building walls to keep refugees out.