Reference

Deuteronomy 23:6

Thou shalt not seek their peace nor their prosperity all thy days for ever.
4

Because they met you not with bread and with water in the way, when ye came forth out of Egypt; and because they hired against thee Balaam the son of Beor of Pethor of Mesopotamia, to curse thee.

5

Nevertheless the Lord thy God would not hearken unto Balaam; but the Lord thy God turned the curse into a blessing unto thee, because the Lord thy God loved thee.

6

Thou shalt not seek their peace nor their prosperity all thy days for ever.

7

Thou shalt not abhor an Edomite; for he is thy brother: thou shalt not abhor an Egyptian; because thou wast a stranger in his land.

8

The children that are begotten of them shall enter into the congregation of the Lord in their third generation.