Deu Deuteronomy, chapter Book of Deuteronomy, chapter 17
Detestable Sacrifices
You shall not sacrifice to the LORD your God an ox or a sheep with any defect or serious flaw, for that is detestable to the LORD your God.Lev 22:20; Deu 15:21; Mal 1:8; Mal 1:13
Purge the Idolater
If a man or woman among you in one of the towns that the LORD your God gives you is found doing evil in the sight of the LORD your God by transgressing His covenant Deu 13:6and going to worship other gods, bowing down to them or to the sun or moon or any of the host of heaven— which I have forbidden— Deu 4:19; Jer 8:2and if it is reported and you hear about it, you must investigate it thoroughly.
If the report is true and such an abomination has happened in Israel, you must bring out to your gates the man or woman who has done this evil thing, and you must stone that person to death. On the testimony of two or three witnesses a man shall be put to death, but he shall not be executed on the testimony of a lone witness. Deu 19:15; Mat 18:16; Jhn 8:17; 2Co 13:1; Heb 10:28The hands of the witnesses shall be the first in putting him to death, and after that, the hands of all the people. So you must purge the evil from among you.17:7 Cited in 1 Corinthians 5:13Deu 13:9; 1Co 5:13
Courts of Law
If a case is too difficult for you to judge, whether the controversy within your gates is regarding bloodshed, lawsuits, or assaults, you must go up to the place the LORD your God will choose. 2Ch 19:10You are to go to the Levitical priests and to the judge who presides at that time. Inquire of them, and they will give you a verdict in the case.2Ch 19:8; 2Ch 19:11; Mal 2:7; Mat 23:3
You must abide by the verdict they give you at the place the LORD will choose. Be careful to do everything they instruct you, according to the terms of law they give and the verdict they proclaim. Do not turn aside to the right or to the left from the decision they declare to you.Deu 5:32; Deu 28:14
But the man who acts presumptuously, refusing to listen either to the priest who stands there to serve the LORD your God, or to the judge, must be put to death. You must purge the evil from Israel. 1Ki 18:26Then all the people will hear and be afraid, and will no longer behave arrogantly.Deu 13:11; Deu 19:20; Rom 13:14
Guidelines for a King
When you enter the land that the LORD your God is giving you and have taken possession of it and settled in it, and you say, “Let us set a king over us like all the nations around us,” 1Sa 8:5; Hos 13:10; Act 13:21you are to appoint over yourselves the king whom the LORD your God shall choose. Appoint a king from among your brothers; you are not to set over yourselves a foreigner who is not one of your brothers.
But the king must not acquire many horses for himself or send the people back to Egypt to acquire more horses, for the LORD has said, ‘You are never to go back that way again.’ 1Sa 10:25; 1Ki 4:26; 1Ki 10:28He must not take many wives for himself, lest his heart go astray. He must not accumulate for himself large amounts of silver and gold.2Sa 5:13
When he is seated on his royal throne, he must write for himself a copy of this instruction on a scroll in the presence of the Levitical priests. 1Ki 1:13It is to remain with him, and he is to read from it all the days of his life, so that he may learn to fear the LORD his God by carefully observing all the words of this instruction and these statutes. Psa 119:12; Psa 119:24; Mat 5:19Then his heart will not be exalted above his countrymen, and he will not turn aside from the commandment, to the right or to the left, in order that he and his sons may reign many years over his kingdom in Israel.Psa 131:2; Jos 1:7