Deuteronomy 20:18

18 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.

Deuteronomy 20:18 Meaning and Commentary

Deuteronomy 20:18

That they teach you not to do after all their abominations,
&c.] This is another reason why they were to be utterly destroyed, not only because of the abominations which they committed, but to prevent the Israelites being taught by them to do the same; wherefore, as before observed from Jarchi, such as became proselytes were suffered to live among them, because there was no danger of idolatry from them, which even proselytes of the gate renounced; and though all other abominations are included, yet this is particularly respected, as appears from the following clause:

which they have done unto their gods;
to the honour of whom not only many superstitious rites and ceremonies were performed, and idolatrous actions committed, but acts of lewdness, and even unnatural uncleanness:

so should ye sin against the Lord your God;
a sin the most provoking to him, as the sin of idolatry was; and cause his anger to rise to such a degree, as to suffer them to be carried captive from the land he gave them to inherit; and which afterwards, was the case, and that through learning the manners and customs of these people; see ( Psalms 106:34-42 ) .

Deuteronomy 20:18 In-Context

16 But of the cities of these peoples, that Jehovah thy God giveth thee for an inheritance, thou shalt save alive nothing that breatheth;
17 but thou shalt utterly destroy them: the Hittite, and the Amorite, the Canaanite, and the Perizzite, the Hivite, and the Jebusite; as Jehovah thy God hath commanded thee;
18 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.
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 wielding an axe against them; for thou mayest eat of them, and thou shalt not cut them down; for is the tree of the field man, that it should be besieged of thee?
20 Only the trees of which thou knowest that they are not trees for food, thou shalt destroy and cut them down; and thou shalt build bulwarks against the city that maketh war with thee, until it fall.
The American Standard Version is in the public domain.