2"You may discover that a man or woman living in one of your cities that the LORD your God is about to give you has done evil in the eyes of the LORD your God by transgressing his covenant.
3He may be following and serving other gods by bowing down to them—that is, to the sun, the moon, or to any of the heavenly host (something I did not command).
4When it is reported to you or you hear of it, then investigate it thoroughly. When the truth has been established that this detestable thing has been done in Israel,
8"If a case is too difficult for you to decide with respect to bloodshed, civil claims, assault and battery, or other matters of dispute within your courts, bring it to the place that the LORD your God will choose.
11in accordance with what the Law says, and in accordance with the verdict that will be handed to you. You must not deviate from the verdict that they declare to you either to the right or to the left.
12If a man presumptuously disregards the priest who is serving the LORD your God there or the judge, that person must die so you will purge evil from Israel.
14"When you have come to the land that the LORD your God is about to give you, and you have taken possession of it, and have settled in it, then you will say, 'I will appoint a king over me like all the nations around me.'
15You will certainly set a king over you, whom the LORD your God will choose from among your relatives, but you must not place a foreign king over you who is not from your relatives.
16Only he must not amass horses for himself or cause the people to return to Egypt to obtain more horses. For the LORD said you must never return that way again.
17Also, he must not accumulate wives for himself (otherwise, his affection will become diverted), nor accumulate for himself excessive quantities of silver and gold.
19It is to remain with him the rest of his life so he may learn to fear the LORD his God and observe all the words of this Law and these statutes, in order to fulfill them.
20He is not to exalt himself over his relatives, nor turn aside from the commandment—neither to the right nor to the left—so that he and his sons may reign long in Israel."