Deuteronomy 23:3

No Ammonite or Moabite or any of their descendants may enter the assembly of the Lord, even to the tenth generation.
BSB · Berean Standard Bible
An Ammonite or Moabite shall not enter into the congregation of the Lord; even to their tenth generation shall they not enter into the congregation of the Lord for ever:
KJV · King James Version
An Ammonite or a Moabite shall not enter into the Lord’s assembly; even to the tenth generation shall no one belonging to them enter into the Lord’s assembly forever,
WEB · World English Bible
An Ammonite or a Moabite shall not enter into the assembly of Jehovah; even to the tenth generation shall none belonging to them enter into the assembly of Jehovah for ever:
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Ammonite
These nations were subjected for their impiety, wickedness, and enmity to Israel, (ver. 4, 5,) to peculiar disgrace; and on this account were not permitted to hold any office among the Israelites. This did not, however, disqualify them from becoming proselytes; for Ruth, who was a Moabitess, was married to Boaz, and became one of the progenitors of our Lord.
Ruth 4:6, 10–22; Nehemiah 4:3, 7; Nehemiah 13:1, 2, 23; Isaiah 56:3