Suppose a prophet appears among you. Or someone comes who uses dreams to tell what's going to happen. He tells you that a miraculous sign or wonder is going to take place.
The sign or wonder he has spoken about might really take place. And he might say, "Let's follow other gods. Let's worship them." But you haven't known anything about those gods before.
So you must not listen to what that prophet or dreamer has said. The Lord your God is putting you to the test. He wants to know whether you love him with all your heart and with all your soul.
That prophet or dreamer must be put to death. He told you not to obey the Lord your God. The Lord brought you out of Egypt. He set you free from the land where you were slaves. He commanded you to live the way he wants you to. But that prophet or dreamer has tried to make you turn away from it. Get rid of that evil person.
Suppose your very own brother or sister secretly tempts you to do something wrong. Or your child or the wife you love tempts you. Or your closest friend does it. Suppose one of them says, "Let's go and worship other gods." But you and your people long ago hadn't known anything about those gods before.
They are the gods of the nations that are around you. Those nations might be near or far away. In fact, they might reach from one end of the land to the other.
Put them to death by throwing stones at them. They tried to turn you away from the Lord your God. He brought you out of Egypt. That's the land where you were slaves.
You hear that evil men have appeared among you. They've tried to get the people of their town to do something wrong. They've said, "Let's go and worship other gods." But you haven't known anything about those gods before.
So you must question people. You must check the matter out carefully. If it's true, an evil thing has really happened among you. It's something the Lord hates.
Gather all of the goods of that town into the middle of the main street. Burn the town completely. Burn up everything in it. It's a whole burnt offering to the Lord your God. The town must remain a pile of stones forever. It must never be built again.
Don't keep anything that should be destroyed. Then the Lord will turn away from his burning anger. He will show you mercy. He'll have deep concern for you. He'll increase your numbers. That's what he promised your people long ago. He took an oath when he made the promise.
The Lord your God will do those things if you obey him. I'm giving you his commands today. And you must obey all of them. You must do what is right in his eyes.