6 Do not seek a treaty of friendship with them as long as you live.

Read Deuteronomy 23:6 Using Other Translations

Thou shalt not seek their peace nor their prosperity all thy days for ever.
You shall not seek their peace or their prosperity all your days forever.
As long as you live, you must never promote the welfare and prosperity of the Ammonites or Moabites.