Deuteronomy 20:18

16 But of the cities of these people, which the LORD thy God doth give thee for an inheritance, thou shalt save alive nothing that breatheth:

17 But thou shalt utterly destroy them; namely, the Hittites, and the Amorites, the Canaanites, and the Perizzites, the Hivites, and the Jebusites; as the LORD thy God hath commanded thee:

That they teach you not to do after all their abominations, which they have done unto their gods; so should ye sin against the LORD your God.

19 When thou shalt besiege a city a long time, in making war against it to take it, thou shalt not destroy the trees thereof by forcing an axe against them: for thou mayest eat of them, and thou shalt not cut them down (for the tree of the field is man’s life) to employ them in the siege:

20 Only the trees which thou knowest that they be not trees for meat, thou shalt destroy and cut them down; and thou shalt build bulwarks against the city that maketh war with thee, until it be subdued.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
so that they cannot teach you to do all the detestable things they do for their gods, and so cause you to sin against the LORD your God.
KJV
That they teach you not to do after all their abominations, which they have done unto their gods; so should ye sin against the LORD your God.
WEB
that they not teach you to follow all their abominations, which they have done for their gods; so would you sin against the LORD your God.
ASV
that they teach you not to do after all their abominations, which they have done unto their gods; so would ye sin against Jehovah your God.
DARBY
that they teach you not to do according to all their abominations, which they have done unto their gods, so that ye sin against Jehovah your God.
BLB
so that they will not teach you⁺ to do according to all their abominations that they have done for their gods, and cause you⁺ to sin against YHWH your⁺ God.
ÅB
for at de ikke skal lære dere å ta etter alle de avskyelige ting som de har gjort for sine guder, så dere synder mot Herren deres Gud.
OTB
Ellers vil de lære deg å følge alle de avskyelige skikkene de utfører for sine guder, og du vil synde mot Herren din Gud.
B1930
forat de ikke skal lære eder å ta efter alle de vederstyggelige ting som de har gjort for sine guder, så I synder mot Herren eders Gud.

Study notes (Tyndale)

Original text and word study

Cross references