“If a prophet or someone who has dreams arises among you and proclaims a sign or wonder to you,
“and that sign or wonder he has promised you comes about, but he says, ‘Let’s follow other gods,’ which you have not known, ‘and let’s worship them,’
“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.
“any of the gods of the peoples around you, near you or far from you, from one end of the earth to the other —
“Instead, you must kill him. Your hand is to be the first against him to put him to death, and then the hands of all the people.
“Stone him to death for trying to turn you away from the LORD your God who brought you out of the land of Egypt, out of the place of slavery.
“All Israel will hear and be afraid, and they will no longer do anything evil like this among you.
“If you hear it said about one of your cities the LORD your God is giving you to live in,
“that wicked men have sprung up among you, led the inhabitants of their city astray, and said, ‘Let’s go and worship other gods,’ which you have not known,
“you are to inquire, investigate, and interrogate thoroughly. If the report turns out to be true that this detestable act has been done among you,
“you must strike down the inhabitants of that city with the sword. Completely destroy everyone in it as well as its livestock with the sword.
“You are to gather all its spoil in the middle of the city square and completely burn the city and all its spoil for the LORD your God. The city is to 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 ancestors.
Christian Standard Bible®, Copyright © 2017, 2020 by Holman Bible Publishers.
Additional information is provided here.
For more information on this translation, see the CSB Preface.