Deuteronomy 17:12-13
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.
17:13 Then all the people will hear and be afraid, and not be so presumptuous again.