Deuteronomy 18:15; Deuteronomy 18:18-19

15 "The LORD your God will raise up for you a prophet like me from among your fellow Israelites, and you must listen to that prophet.
18 I will raise up a prophet like you from among their fellow Israelites. I will tell that prophet what to say, and he will tell the people everything I command him. 19 I will personally deal with anyone who will not listen to the messages the prophet proclaims on my behalf.