Deuteronomy 12:30

be careful not to be ensnared by their ways after they have been destroyed before you. Do not inquire about their gods, asking, “How do these nations serve their gods? I will do likewise.”
BSB · Berean Standard Bible
Take heed to thyself that thou be not snared by following them, after that they be destroyed from before thee; and that thou enquire not after their gods, saying, How did these nations serve their gods? even so will I do likewise.

Note by…: Heb. after them

KJV · King James Version
be careful that you are not ensnared to follow them after they are destroyed from before you, and that you not inquire after their gods, saying, “How do these nations serve their gods? I will do likewise.”
WEB · World English Bible
take heed to thyself that thou be not ensnared to follow them, after that they are destroyed from before thee; and that thou inquire not after their gods, saying, How do these nations serve their gods? even so will I do likewise.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

that thou
Deuteronomy 7:16; Exodus 23:31–33; Leviticus 18:3; Numbers 33:52; Judges 2:2, 3; 2 Kings 17:15; Psalm 106:34–38; Ezekiel 20:28
by following
Heb. after. How did.
Jeremiah 10:2; Ezekiel 20:32; Romans 12:2; Ephesians 4:17; 1 Peter 4:3, 4