Deuteronomy 17:12

NLT
New Living Translation

12Anyone arrogant enough to reject the verdict of the judge or of the priest who represents the Lord your God must die. In this way you will purge the evil from Israel.