Deuteronomy 18:18-22

JPS_ASV_Byz(i) 18 I will raise them up a prophet from among their brethren, like unto thee; and I will put My words in his mouth, and he shall speak unto them all that I shall command him. 19 And it shall come to pass, that whosoever will not hearken unto My words which he shall speak in My name, I will require it of him. 20 But the prophet, that shall speak a word presumptuously in My name, which I have not commanded him to speak, or that shall speak in the name of other gods, that same prophet shall die.' 21 And if thou say in thy heart: 'How shall we know the word which the LORD hath not spoken?' 22 When a prophet speaketh in the name of the LORD, if the thing follow not, nor come to pass, that is the thing which the LORD hath not spoken; the prophet hath spoken it presumptuously, thou shalt not be afraid of him.