If prophets or those who divine by dreams appear among you and promise you omens or portents,
and the omens or the portents declared by them take place, and they say, "Let us follow other gods" (whom you have not known) "and let us serve them,"
you must not heed the words of those prophets or those who divine by dreams; for the Lord your God is testing you, to know whether you indeed love the Lord your God with all your heart and soul.
The Lord your God you shall follow, him alone you shall fear, his commandments you shall keep, his voice you shall obey, him you shall serve, and to him you shall hold fast.
But those prophets or those who divine by dreams shall be put to death for having spoken treason against the Lord your God—who brought you out of the land of Egypt and redeemed you from the house of slavery—to turn you from the way in which the Lord your God commanded you to walk. So you shall purge the evil from your midst.
If anyone secretly entices you—even if it is your brother, your father's son or your mother's son, or your own son or daughter, or the wife you embrace, or your most intimate friend—saying, "Let us go worship other gods," whom neither you nor your ancestors have known,
any of the gods of the peoples that are around you, whether near you or far away from you, from one end of the earth to the other,
you must not yield to or heed any such persons. Show them no pity or compassion and do not shield them.
But you shall surely kill them; your own hand shall be first against them to execute them, and afterwards the hand of all the people.
Stone them 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 house of slavery.
Then all Israel shall hear and be afraid, and never again do any such wickedness.
If you hear it said about one of the towns that the Lord your God is giving you to live in,
that scoundrels from among you have gone out and led the inhabitants of the town astray, saying, "Let us go and worship other gods," whom you have not known,
then you shall inquire and make a thorough investigation. If the charge is established that such an abhorrent thing has been done among you,
you shall put the inhabitants of that town to the sword, utterly destroying it and everything in it—even putting its livestock to the sword.
All of its spoil you shall gather into its public square; then burn the town and all its spoil with fire, as a whole burnt offering to the Lord your God. It shall remain a perpetual ruin, never to be rebuilt.
Do not let anything devoted to destruction stick to your hand, so that the Lord may turn from his fierce anger and show you compassion, and in his compassion multiply you, as he swore to your ancestors,
if you obey the voice of the Lord your God by keeping all his commandments that I am commanding you today, doing what is right in the sight of the Lord your God.