Cross reference
Deuteronomy 18:9
9 When you are come into the land which Yahweh your God gives you, you shall not learn to do after the abominations of those nations.
Deuteronomy 12:29-31
29 When Yahweh your God shall cut off the nations from before you, where you go in to dispossess them, and you dispossess them, and dwell in their land;
30 take heed to yourself that you not be ensnared to follow them, after that they are destroyed from before you; and that you not inquire after their gods, saying, How do these nations serve their gods? even so will I do likewise.
31 You shall not do so to Yahweh your God: for every abomination to Yahweh, which he hates, have they done to their gods; for even their sons and their daughters do they burn in the fire to their gods.
Leviticus 18:26-27
26 You therefore shall keep my statutes and my ordinances, and shall not do any of these abominations; neither the native-born, nor the stranger who lives as a foreigner among you;
27 (for all these abominations have the men of the land done, that were before you, and the land became defiled);
Leviticus 18:30
30 Therefore you shall keep my charge, that you do not practice any of these abominable customs, which were practiced before you, and that you do not defile yourselves with them: I am Yahweh your God.'"