Deuteronomy 23:6

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.

What does Deuteronomy 23:6 mean?

John Gill's Exposition of the Bible
Deuteronomy 23:6

Thou shalt not seek their peace nor their prosperity all thy
days for ever.
] Not that they were to retain malice towards them, or indulge a spirit of revenge, or not do them any good offices in a private way, which is contrary to the law of love; nor does this contradict any offices of kindness and friendship that might be performed in a personal way: so we find that David had a kindness for Hanun the Ammonite, and showed it, though ill rewarded for it, yet is not blamed for doing it; ( 2 Samuel 10:2 ) for these words respect not persons in a private capacity, but the people of Israel as a body politic, who, as such, were not to carry on trade and commerce with those people, nor intermarry with them, nor make leagues and enter into alliances with them; the reason of which was, because being very near neighbours to them, had there not been such a law, as a wall of partition between them, they might have become very familiar, and so have learnt their evil ways and customs, which this was designed to prevent: the Jews restrain F15 this to overtures and proclamations of peace, which they were not to make with these nations, as they were directed to do when they went out to war with others, ( Deuteronomy 20:10 ) .


FOOTNOTES:

F15 Hilchot Melachim, c. 6. sect. 6.
California - Do Not Sell My Personal Information  California - CCPA Notice