Deuteronomy 23:6 in the World English Bible
You shall not seek their peace nor their prosperity all your days forever.
Context
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.