Deuteronomy 17:12-14 Christian Standard Bible (CSB)
12 The person who acts arrogantly, refusing to listen either to the priest who stands there serving the Lord your God or to the judge, must die. You must purge the evil from Israel. 13 Then all the people will hear about it, be afraid, and no longer behave arrogantly.
Appointing a King
14 “When you enter the land the Lord your God is giving you, take possession of it, live in it, and say, ‘I will set a king over me like all the nations around me,’