The Bible says a lot of things,
From my point of view,
Because it's written of many time periods, situations, languages,
By very many people.
Still, that doesn't mean to my mind that it's unworthy of trust, respect, guidance.
In my 'VERY shallow 'VERY uneducated view,
(Exodus 12:49, Exodus 22:21) and socialism(Luke 18:22).
Do not mean open borders or interculturism.
Exodus 12:49, "The same law applies both to the native-born and to the foreigner residing among you.”
Exodus 22:21, "21 Do not mistreat or oppress a foreigner, for you were foreigners in Egypt."
Those simply mean humane and just treatment, doesn't make foreigners citizens.
(Luke 18:22), "When Jesus heard this, he said to him, “You still lack one thing. Sell everything you have and give to the poor, and you will have treasure in heaven. Then come, follow me.”
Jesus was speaking to an individual rich man, not saying he ought take other's stuff and redistribute it.
'Could argue,
11It is just as the Scripture says: “Anyone who believes in Him will never be put to shame.”e 12For there is no difference between Jew and Greek: The same Lord is Lord of all, and gives richly to all who call on Him, 13for, “Everyone who calls on the name of the Lord will be saved.”f
But I'm not certain that's speaking of 'countries being the same country, so much as all being of equal share under God.
But again, Bible says a lot of things,
"Intermarriage Forbidden
23In those days I also saw Jews who had married women from Ashdod, Ammon, and Moab. 24Half of their children spoke the language of Ashdod or of the other peoples, but could not speak the language of Judah. 25I rebuked them and called down curses on them. I beat some of these men and pulled out their hair.
Then I made them take an oath before God and said, “You must not give your daughters in marriage to their sons or take their daughters as wives for your sons or for yourselves! 26Did not King Solomon of Israel sin in matters like this? There was not a king like him among many nations, and he was loved by his God, who made him king over all Israel—yet foreign women drew him into sin. 27Must we now hear that you too are doing all this terrible evil and acting unfaithfully against our God by marrying foreign women?”
28Even one of the sons of Jehoiada son of Eliashib the high priest had become a son-in-law to Sanballat the Horonite. Therefore I drove him away from me.
29Remember them, O my God, because they have defiled the priesthood and the covenant of the priesthood and of the Levites.
30Thus I purified the priests and Levites from everything foreign, and I assigned specific duties to each of the priests and Levites. 31I also arranged for contributions of wood at the appointed times, and for the firstfruits.
Remember me, O my God, with favor.
Justifying one's actions doesn't depend 'so much on the Bible to my mind,
As oneself, one's values, logic, and interpretation.
Nuance.
The Bibles just an additional whisper of wisdom, points of view, times past, situations that future might be.
But eh, even before being an Atheist, I'm a Nihilist,
Flaws in the Bible don't detract from much of it's history, game theory, art, and 'heart.
For I view the same in social standards, history books, politics, yada yada yada, I'm rambling.
Point I'm trying to make it the Bible can be referenced by many different ideals, even in opposite sides at times,
But that doesn't matter,
Even a rainy day, can find two different individuals reaching two different conclusions,
Still, it can be trusted that the day is raining.