Deuteronomy 17:12
17:12 The person who pays no attention to the priest currently serving the Lord your God there, or to the verdict – that person must die, so that you may purge evil from Israel.
Deuteronomy 26:3
26:3 You must go to the priest in office at that time and say to him, “I declare today to the Lord your God that I have come into the land that the Lord promised to our ancestors to give us.”