Deuteronomy 17:8-18

8 And if a matter shall be too hard for thee in judgment, between blood and blood, and between cause and cause, and between stroke and stroke, and between contradiction and contradiction, matters of judgment in your cities;
9 then thou shalt arise and go up to the place which the Lord thy God shall choose, and thou shalt come to the priests the Levites, and to the judge who shall be in those days, and they shall search out and report the judgment to thee.
10 And thou shalt act according to the thing which they shall report to thee out of the place which the Lord thy God shall choose, and thou shalt observe to do all whatsoever shall have been by law appointed to thee.
11 Thou shalt do according to the law and to the judgment which they shall declare to thee: thou shalt not swerve to the right hand or to the left from any sentence which they shall report to thee.
12 And the man whosoever shall act in haughtiness, so as not to hearken to the priest who stands to minister in the name of the Lord thy God, or the judge who shall preside in those days, that man shall die, and thou shalt remove the evil one out of Israel.
13 And all the people shall hear and fear, and shall no more commit impiety.
14 And when thou shalt enter into the land which the Lord thy God gives thee, and shalt inherit it and dwell in it, and shalt say, I will set a ruler over me, as also the other nations round about me;
15 thou shalt surely set over thee the ruler whom the Lord God shall choose: of thy brethren thou shalt set over thee a ruler; thou shalt not have power to set over thee a stranger, because he is not thy brother.
16 For he shall not multiply to himself horses, and he shall by no means turn the people back to Egypt, lest he should multiply to himself horses; for the Lord said, Ye shall not any more turn back by that way.
17 And he shall not multiply to himself wives, lest his heart turn away; and he shall not greatly multiply to himself silver and gold.
18 And when he shall be established in his government, then shall he write for himself this repetition of the law into a book by the hands of the priests the Levites;

Deuteronomy 17:8-18 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 17

This chapter begins with a caution not to sacrifice anything to the Lord that is blemished or ill favoured, De 17:1, an order is given to put to death men or women guilty of idolatry, where it is clearly proved upon them, De 17:2-7 and it is directed that when cases are too hard for inferior judges to determine, they should be brought to Jerusalem to the priests, Levites, and judges, which formed the great consistory there, whose sentence was to be adhered unto on pain of death, De 17:8-13, and rules are given about the choice of a king, and he is informed what he must not do, and what he should do, De 17:14-20.

Footnotes 2

The Brenton translation of the Septuagint is in the public domain.