Deuteronomy 13:5-15

ISV(i) 5 That prophet or diviner of dreams must be executed, because he advocated rebellion against the LORD your God, who brought you from the land of Egypt and redeemed you from the house of slavery, and because he lured you from the way in which the LORD your God instructed you to live. Purge the evil from among you.”
6 Dealing with Idolaters“Your own blood brother, your son, your daughter, your beloved wife, or your friend who is like your soul mate may entice you quietly. He may tell you, ‘Let’s go and serve other gods,’ (whom neither you nor your ancestors have known 7 from the gods of the people that surround you—whether near or far from you—from one end of the earth to the other). 8 You must not yield to him, listen to him, look with pity on him, show compassion to him, or even cover up for him. 9 But you must surely execute him. You must be the first to put him to death with your own hand, and then the hands of the whole community. 10 Stone him to death, because he sought to lure you from the LORD your God who brought you from the land of Egypt, from the land of slavery. 11 Then all Israel will hear about it, be afraid, and won’t do this evil thing again among you.
12 “You may hear in one of your towns that the LORD your God is giving you to inhabit 13 that worthless men have come from among you to entice those who live in the towns. They may say, ‘Let’s go and serve other gods that you haven’t known.’ 14 You must thoroughly investigate and inquire if it is true that this detestable thing exists among you. If it is so, 15 then put the inhabitants of the town to death by the sword. Devote everything in it to divine destruction—even its livestock—by the sword.