131 "If a prophet arises among you, or a dreamer of dreams, and gives you a sign or a wonder, 2 and the sign or wonder which he tells you comes to pass, and if he says, 'Let us go after other gods,' which you have not known, 'and let us serve them,' 3 you shall not listen to the words of that prophet or to that dreamer of dreams; for the Lord your God is testing you, to know whether you love the Lord your God with all your heart and with all your soul. 4 You shall walk after the Lord your God and fear him, and keep his commandments and obey his voice, and you shall serve him and cleave to him. 5 But that prophet or that dreamer of dreams shall be put to death, because he has taught rebellion against the Lord your God, who brought you out of the land of Egypt and redeemed you out of the house of bondage, to make you leave the way in which the Lord your God commanded you to walk. So you shall purge the evil from the midst of you.

Matthew Henry's Commentary on Deuteronomy 13:1-5

Commentary on Deuteronomy 13:1-5

(Read Deuteronomy 13:1-5)

Moses had cautioned against the peril that might arise from the Canaanites. Here he cautions against the rise of idolatry among themselves. It is needful for us to be well acquainted with the truths and precepts of the Bible; for we may expect to be proved by temptations of evil under the appearance of good, of error in the guise of truth; nor can any thing rightly oppose such temptations, but the plain, express testimony of God's word to the contrary. And it would be a proof of sincere affection for God, that, notwithstanding specious pretences, they should not be wrought upon the forsake God, and follow other gods to serve them.