Ezra-Nehemiah of the Hebrew bible is mainly concerned about the maintenance of Jewish racial purity and that they should not intermarry because the Goyim are inferior.
Racial Purity
Ezra 9:1 After these things had been done, the leaders came to me and said, “The people of Israel, including the priests and the Levites, have not kept themselves separate from the neighboring peoples with their detestable practices, like those of the Canaanites, Hittites, Perizzites, Jebusites, Ammonites, Moabites, Egyptians and Amorites. 2 They have taken some of their daughters as wives for themselves and their sons, and have mingled the holy race with the peoples around them. And the leaders and officials have led the way in this unfaithfulness.”
3 When I heard this, I tore my tunic and cloak, pulled hair from my head and beard and sat down appalled.
7 From the days of our ancestors until now, our guilt has been great. Because of our sins, we and our kings and our priests have been subjected to the sword and captivity, to pillage and humiliation at the hand of foreign kings, as it is today.
11 you gave through your servants the prophets when you said: ‘The land you are entering to possess is a land polluted by the corruption of its peoples. By their detestable practices they have filled it with their impurity from one end to the other. 12 Therefore, do not give your daughters in marriage to their sons or take their daughters for your sons. Do not seek a treaty of friendship with them at any time, that you may be strong and eat the good things of the land and leave it to your children as an everlasting inheritance.’
13 “What has happened to us is a result of our evil deeds and our great guilt, and yet, our God, you have punished us less than our sins deserved and have given us a remnant like this. 14 Shall we then break your commands again and intermarry with the peoples who commit such detestable practices? Would you not be angry enough with us to destroy us, leaving us no remnant or survivor?
Ezra 10:2 Then Shekaniah son of Jehiel, one of the descendants of Elam, said to Ezra, “We have been unfaithful to our God by marrying foreign women from the peoples around us. But in spite of this, there is still hope for Israel. 3 Now let us make a covenant before our God to send away all these women and their children, in accordance with the counsel of my lord and of those who fear the commands of our God. Let it be done according to the Law.
10 Then Ezra the priest stood up and said to them, “You have been unfaithful; you have married foreign women, adding to Israel’s guilt. 11 Now honor the Lord, the God of your ancestors, and do his will. Separate yourselves from the peoples around you and from your foreign wives.”
14 Let our officials act for the whole assembly. Then let everyone in our towns who has married a foreign woman come at a set time, along with the elders and judges of each town, until the fierce anger of our God in this matter is turned away from us.”
16 On the first day of the tenth month they sat down to investigate the cases, 17 and by the first day of the first month they finished dealing with all the men who had married foreign women.
44 All these had married foreign women, and some of them had children by these wives.
Nehemiah 2:20 I answered them (Sanballat the Horonite, Tobiah the Ammonite official and Geshem the Arab) by saying, “The God of heaven will give us success. We his servants will start rebuilding, but as for you, you have no share in Jerusalem or any claim or historic right to it.”
9:2 Those of Israelite descent had separated themselves from all foreigners. They stood in their places and confessed their sins and the sins of their ancestors.
10:30 “We promise not to give our daughters in marriage to the peoples around us or take their daughters for our sons.
13:3 When the people heard this law, they excluded from Israel all who were of foreign descent.
23 Moreover, in those days I saw men of Judah who had married women from Ashdod, Ammon and Moab. 24 Half of their children spoke the language of Ashdod or the language of one of the other peoples, and did not know how to speak the language of Judah. 25 I rebuked them and called curses down on them. I beat some of the men and pulled out their hair. I made them take an oath in God’s name and said: “You are not to give your daughters in marriage to their sons, nor are you to take their daughters in marriage for your sons or for yourselves.
27 Must we hear now that you too are doing all this terrible wickedness and are being unfaithful to our God by marrying foreign women?”
30 So I purified the priests and the Levites of everything foreign, and assigned them duties, each to his own task.
Return to Israel
Nehemiah 1:8 “Remember the instruction you gave your servant Moses, saying, ‘If you are unfaithful, I will scatter you among the nations, 9 but if you return to me and obey my commands, then even if your exiled people are at the farthest horizon, I will gather them from there and bring them to the place I have chosen as a dwelling for my Name.’
Profiting off your fellow Jews is wrong
5:1 Now the men and their wives raised a great outcry against their fellow Jews. 2 Some were saying, “We and our sons and daughters are numerous; in order for us to eat and stay alive, we must get grain.”
3 Others were saying, “We are mortgaging our fields, our vineyards and our homes to get grain during the famine.”
4 Still others were saying, “We have had to borrow money to pay the king’s tax on our fields and vineyards. 5 Although we are of the same flesh and blood as our fellow Jews and though our children are as good as theirs, yet we have to subject our sons and daughters to slavery. Some of our daughters have already been enslaved, but we are powerless, because our fields and our vineyards belong to others.”
6 When I heard their outcry and these charges, I was very angry. 7 I pondered them in my mind and then accused the nobles and officials. I told them, “You are charging your own people interest!” So I called together a large meeting to deal with them 8 and said: “As far as possible, we have bought back our fellow Jews who were sold to the Gentiles. Now you are selling your own people, only for them to be sold back to us!” They kept quiet, because they could find nothing to say.
9 So I continued, “What you are doing is not right. Shouldn’t you walk in the fear of our God to avoid the reproach of our Gentile enemies? 10 I and my brothers and my men are also lending the people money and grain. But let us stop charging interest! 11 Give back to them immediately their fields, vineyards, olive groves and houses, and also the interest you are charging them—one percent of the money, grain, new wine and olive oil.”
12 “We will give it back,” they said. “And we will not demand anything more from them. We will do as you say.”
6:1 When word came to Sanballat, Tobiah, Geshem the Arab and the rest of our enemies that I had rebuilt the wall and not a gap was left in it—though up to that time I had not set the doors in the gates