Deuteronomy 12:30

30 and after they have been destroyed before you, be careful not to be ensnared by inquiring about their gods, saying, “How do these nations serve their gods? We will do the same.”

Deuteronomy 12:30 in Other Translations

KJV
30 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.
ESV
30 take care that you be not ensnared to follow them, after they have been destroyed before you, and that you do not inquire about their gods, saying, 'How did these nations serve their gods?--that I also may do the same.'
NLT
30 do not fall into the trap of following their customs and worshiping their gods. Do not inquire about their gods, saying, ‘How do these nations worship their gods? I want to follow their example.’
MSG
30 be careful that you don't get curious about them after they've been destroyed before you. Don't get fascinated with their gods, thinking, "I wonder what it was like for them, worshiping their gods. I'd like to try that myself."
CSB
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 did these nations worship their gods? I'll also do the same.'

Deuteronomy 12:30 Meaning and Commentary

Deuteronomy 12:30

Take heed to thyself, that thou be not snared by following
them
Their examples and customs, and so be drawn into the same idolatrous practices; see ( Psalms 106:35 Psalms 106:36 ) , after that they be destroyed from before thee; for their idolatries and other sins:

and that thou inquire not after their gods;
what they were, their names, forms, and figures:

saying, how did these nations serve their gods?
what was the manner of worship they gave them? what rites, customs, and ceremonies did they use in their adoration of them?

even so will I do likewise;
or however, if this was not determined on when the inquiries were made, there was danger that this would be the result of them, and therefore the caution is given.

Deuteronomy 12:30 In-Context

28 Be careful to obey all these regulations I am giving you, so that it may always go well with you and your children after you, because you will be doing what is good and right in the eyes of the LORD your God.
29 The LORD your God will cut off before you the nations you are about to invade and dispossess. But when you have driven them out and settled in their land,
30 and after they have been destroyed before you, be careful not to be ensnared by inquiring about their gods, saying, “How do these nations serve their gods? We will do the same.”
31 You must not worship the LORD your God in their way, because in worshiping their gods, they do all kinds of detestable things the LORD hates. They even burn their sons and daughters in the fire as sacrifices to their gods.
32 See that you do all I command you; do not add to it or take away from it.

Cross References 2

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.