Deuteronomy 13:5

5 But put to death any interpreters of dreams or prophets that tell you to rebel against the Lord, who rescued you from Egypt, where you were slaves. Such people are evil and are trying to lead you away from the life that the Lord has commanded you to live. They must be put to death, in order to rid yourselves of this evil.

Deuteronomy 13:5 In-Context

3 do not pay any attention to them. The Lord your God is using them to test you, to see if you love the Lord with all your heart.
4 Follow the Lord and honor him; obey him and keep his commands; worship him and be faithful to him.
5 But put to death any interpreters of dreams or prophets that tell you to rebel against the Lord, who rescued you from Egypt, where you were slaves. Such people are evil and are trying to lead you away from the life that the Lord has commanded you to live. They must be put to death, in order to rid yourselves of this evil.
6 "Even your brother or your son or your daughter or the wife you love or your closest friend may secretly encourage you to worship other gods, gods that you and your ancestors have never worshiped.
7 Some of them may encourage you to worship the gods of the people who live near you or the gods of those who live far away.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.