Deuteronomy 23:7
JPS-1917לֹא־תִדְרֹ֥שׁ שְׁלֹמָ֖ם וְטֹבָתָ֑ם כׇּל־יָמֶ֖יךָ לְעוֹלָֽם׃ {ס}
Thou shalt not seek their peace nor their prosperity all thy days for ever.
Rashi Commentary
לא תדרש שלמם THOU SHALT NOT SEEK THEIR PEACE [NOR THEIR GOOD] — Since it states, (v. 17) “He (the runaway slave) shall abide with you, even among you, … [where it shall be good for him]” one might think that this (a Moabite or Ammonite runaway slave) should also be treated likewise, therefore Scripture states לא תדרש שלמם THOU SHALT NOT SEEK THEIR PEACE [NOR THEIR GOOD] (Sifrei Devarim 251:2).
Other Translations
לֹא־תִדְרֹ֥שׁ שְׁלֹמָ֖ם וְטֹבָתָ֑ם כׇּל־יָמֶ֖יךָ לְעוֹלָֽם׃ {ס}
Thou shalt not seek their peace nor their prosperity all thy days for ever.