"If a prophet or someone who gets messages while dreaming arises among you and he gives you a sign or wonder,
and the sign or wonder comes about as he predicted when he said, 'Let's follow other gods, which you have not known; and let us serve them,'
you are not to listen to what that prophet or dreamer says. For ADONAI your God is testing you, in order to find out whether you really do love ADONAI your God with all your heart and being.
You are to follow ADONAI your God, fear him, obey his mitzvot, listen to what he says, serve him and cling to him;
and that prophet or dreamer is to be put to death; because he urged rebellion against ADONAI your God, who brought you out of the land of Egypt and redeemed you from a life of slavery; in order to seduce you away from the path ADONAI your God ordered you to follow. This is how you are to rid your community of this wickedness.
"If your brother the son of your mother, or your son, or your daughter, or your wife whom you love, or your friend who means as much to you as yourself, secretly tries to entice you to go and serve other gods, which you haven't known, neither you nor your ancestors -
gods of the peoples surrounding you, whether near or far away from you, anywhere in the world -
you are not to consent, and you are not to listen to him; and you must not pity him or spare him; and you may not conceal him.
Rather, you must kill him! Your own hand must be the first one on him in putting him to death, and afterwards the hands of all the people.
You are to stone him to death; because he has tried to draw you away from ADONAI your God, who brought you out of the land of Egypt, out of a life of slavery.
Then all Isra'el will hear about it and be afraid, so that they will stop doing such wickedness as this among themselves.
"If you hear it told that in one of your cities which ADONAI your God is giving you to live in,
certain scoundrels have sprung up among you and have drawn away the inhabitants of their city by saying, 'Let's go and serve other gods, which you haven't known,'
then you are to investigate the matter, inquiring and searching diligently. If the rumor is true, if it is confirmed that such detestable things are being done among you,
you must put the inhabitants of that city to death with the sword, destroying it completely with the sword, everything in it, including its livestock.
Heap all its spoils in an open space, and burn the city with its spoils to the ground for ADONAI your God; it will remain a tel forever and not be built again -
none of what has been set apart for destruction is to stay in your hands. Then ADONAI will turn from his fierce anger and show you mercy, have compassion on you and increase your numbers, as he swore to your ancestors -
provided you listen to what ADONAI says and obey all his mitzvot that I am giving you today, thus doing what ADONAI your God sees as right.