Deuteronomy 23:6 in the King James Version
Thou shalt not seek their peace nor their prosperity all thy days for ever.
Context
5 Nevertheless the LORD your God wouldn’t listen to Balaam, but the LORD your God turned the curse into a blessing to you, because the LORD your God loved you.
6 You shall not seek their peace nor their prosperity all your days forever.
7 You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you lived as a foreigner in his land.