do not listen to that prophet's words or to that dreamer. For the LORD your God is testing you to know whether you love the LORD your God with all your heart and all your soul.
That prophet or dreamer must be put to death, because he has urged rebellion against the LORD your God who brought you out of the land of Egypt and redeemed you from the place of slavery, to turn you from the way the LORD your God has commanded you to walk. You must purge the evil from you.
"If your brother, the son of your mother, or your son or daughter, or the wife you embrace, or your closest friend secretly entices you, saying, 'Let us go and worship other gods'-- which neither you nor your fathers have known,
that wicked men have sprung up among you, led the inhabitants of their city astray, and said, 'Let us go and worship other gods,' which you have not known,
You are to gather all its spoil in the middle of the city square and completely burn up the city and all its spoil for the LORD your God. The city must remain a mound of ruins forever; it is not to be rebuilt.
Nothing set apart for destruction is to remain in your hand, so that the LORD will turn from His burning anger and grant you mercy, show you compassion, and multiply you as He swore to your fathers.
This [will occur] if you obey the LORD your God, keeping all His commands I am giving you today, doing what is right in the sight of the LORD your God.