Deuteronomy 23:3-5

23:3 An Ammonite or Moabite may not enter the assembly of the Lord; to the tenth generation none of their descendants shall ever do so, 23:4 for they did not meet you with food and water on the way as you came from Egypt, and furthermore, they hired Balaam son of Beor of Pethor in Aram Naharaim to curse you. 23:5 But the Lord your God refused to listen to Balaam and changed the curse to a blessing, for the Lord your God loves you.

Deuteronomy 23:1

Purity in Public Worship

23:1 A man with crushed or severed genitals may not enter the assembly of the Lord.

Deuteronomy 11:1

Reiteration of the Call to Obedience

11:1 You must love the Lord your God and do what he requires; keep his statutes, ordinances, and commandments at all times.

Deuteronomy 11:5-7

11:5 They did not see what he did to you in the desert before you reached this place, 11:6 or what he did to Dathan and Abiram, sons of Eliab the Reubenite, when the earth opened its mouth in the middle of the Israelite camp and swallowed them, their families, their tents, and all the property they brought with them. 11:7 I am speaking to you because you are the ones who saw all the great deeds of the Lord!

Nehemiah 4:3

4:3 Then Tobiah the Ammonite, who was close by, said, “If even a fox were to climb up on what they are building, it would break down their wall of stones!”

Nehemiah 4:7

4:7 (4:1) When Sanballat, Tobiah, the Arabs, the Ammonites, and the people of Ashdod heard that the restoration of the walls of Jerusalem had moved ahead and that the breaches had begun to be closed, they were very angry.

Nehemiah 13:1-3

Further Reforms by Nehemiah

13:1 On that day the book of Moses was read aloud in the hearing of the people. They found written in it that no Ammonite or Moabite may ever enter the assembly of God, 13:2 for they had not met the Israelites with food and water, but instead had hired Balaam to curse them. (Our God, however, turned the curse into blessing.) 13:3 When they heard the law, they removed from Israel all who were of mixed ancestry.