The things sacrificed must be sound.
Deuteronomy 17:1 Thou shalt not sacrifice to the LORD thy God [any] bullock, or sheep, in which is blemish, [or] any evil favoredness: for that [is] an abomination to the LORD thy God.
Idolaters must be slain.
Deuteronomy 17:2 If there shall be found among you, within any of thy gates which the LORD thy God giveth thee, man or woman that hath wrought wickedness in the sight of of the LORD thy God, in transgressing his covenant, Deuteronomy 17:3 And hath gone and served other gods, and worshiped them, either the sun, or moon, or any of the host of heaven, which I have not commanded; Deuteronomy 17:4 And it shall be told thee, and thou hast heard [of it], and inquired diligently, and behold, [it is] true, [and] the thing certain, [that] such abomination is wrought in Israel: Deuteronomy 17:5 Then shalt thou bring forth to thy gates that man or that woman, who have committed that wicked thing, [even] that man or that woman, and shalt stone them with stones, till they die. Deuteronomy 17:6 At the mouth of two witnesses, or three witnesses, shall he that is worthy of death be put to death; [but] at the mouth of one witness he shall not be put to death. Deuteronomy 17:7 The hands of the witnesses shall be first upon him to put him to death, and afterward the hands of all the people. So thou shalt remove the evil from among you.
Hard controversies are to be determined by the priests and judges.
Deuteronomy 17:8 If there shall arise a matter too hard for thee in judgment, between blood and blood, between plea and plea, and between stroke and stroke, [being] matters of controversy within thy gates: then shalt thou arise, and go up to the place which the LORD thy God shall choose; Deuteronomy 17:9 And thou shalt come to the priests the Levites, and to the judge that shall be in those days, and inquire; and they shall show thee the sentence of judgment: Deuteronomy 17:10 And thou shalt do according to the sentence, which they of that place which the LORD shall choose shall show thee; and thou shalt observe to do according to all that they inform thee: Deuteronomy 17:11 According to the sentence of the law which they shall teach thee, and according to the judgment which they shall tell thee, thou shalt do: thou shalt not decline from the sentence which they shall show thee, [to] the right hand, nor [to] the left.
The contemner of that determination must die.
Deuteronomy 17:12 And the man that will do presumptuously, and will not hearken to the priest that standeth to minister there before the LORD thy God, or to the judge, even that man shall die: and thou shalt remove the evil from Israel. Deuteronomy 17:13 And all the people shall hear, and fear, and do no more presumptuously.
Deuteronomy 17:14 When thou art come into the land which the LORD thy God giveth thee, and shalt possess it, and shalt dwell in it, and shalt say, I will set a king over me, like as all the nations that [are] about me; Deuteronomy 17:15 Thou shalt in any wise set [him] king over thee whom the LORD thy God shall choose: [one] from among thy brethren shalt thou set king over thee: thou mayest not set a stranger over thee, who [is] not thy brother.
and duty of a king.
Deuteronomy 17:16 But he shall not multiply horses to himself, nor cause the people to return to Egypt, to the end that he should multiply horses: forasmuch as the LORD hath said to you, ye shall henceforth return no more that way. Deuteronomy 17:17 Neither shall he multiply wives to himself, that his heart may turn not away: neither shall he greatly accumulate to himself silver and gold. Deuteronomy 17:18 And it shall be when he sitteth upon the throne of his kingdom, that he shall write him a copy of this law in a book out of [that which is] before the priests the Levites. Deuteronomy 17:19 And it shall be with him, and he shall read in it all the days of his life: that he may learn to fear the LORD his God, to keep all the words of this law and these statutes, to do them: Deuteronomy 17:20 That his heart may not be lifted above his brethren, and that he may not turn aside from the commandment [to] the right hand or [to] the left: to the end that he may prolong [his] days in his kingdom, he, and his children, in the midst of Israel.