Deuteronomy 23:4
This is because the Ammonites and Moabites did not give you bread and water when you came out of Egypt. And they hired Balaam son of Beor, from Pethor in Northwest Mesopotamia, to put a curse on you.
Explains why Ammonites were excluded: no bread, water, and hiring Balaam.
Jeremiah 49:2Ammon
The Lord says, "The time will come when I will make Rabbah, the capital city of the Ammonites, hear the battle cry. It will become a hill covered with ruins, and the towns around it will be burned. Those people forced Israel out of that land, but now Israel will force them out!" says the Lord.
Prophecy that Rabbah, the Ammonite capital, will become ruins.
Ezra 9:1Ammoni
After these things had been done, the leaders came to me and said, "Ezra, the Israelites, including the priests and Levites, have not kept themselves separate from the people around us. Those neighbors do evil things, as the Canaanites, Hittites, Perizzites, Jebusites, Ammonites, Moabites, Egyptians, and Amorites did.