2If a man or woman living among you in one of the towns the LORD gives you is found doing evil in the eyes of the LORD your God in violation of his covenant,
4and this has been brought to your attention, then you must investigate it thoroughly. If it is true and it has been proved that this detestable thing has been done in Israel,
7The hands of the witnesses must be the first in putting that person to death, and then the hands of all the people. You must purge the evil from among you.
8If cases come before your courts that are too difficult for you to judge--whether bloodshed, lawsuits or assaults--take them to the place the LORD your God will choose.
12Anyone who shows contempt for the judge or for the priest who stands ministering there to the LORD your God is to be put to death. You must purge the evil from Israel.
14When you enter the land 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,"
15be sure to appoint over you a king the LORD your God chooses. He must be from among your fellow Israelites. Do not place a foreigner over you, one who is not an Israelite.
16The king, moreover, must not acquire great numbers of horses for himself or make the people return to Egypt to get more of them, for the LORD has told you, "You are not to go back that way again."
19It is to be with him, and he is to read it all the days of his life so that he may learn to revere the LORD his God and follow carefully all the words of this law and these decrees
20and not consider himself better than his fellow Israelites and turn from the law to the right or to the left. Then he and his descendants will reign a long time over his kingdom in Israel.