Deuteronomy 16:18--17:7
Provision for Justice
16:18 You must appoint judges and civil servants for each tribe in all your villages that the Lord your God is giving you, and they must judge the people fairly.
16:19 You must not pervert justice or show favor. Do not take a bribe, for bribes blind the eyes of the wise and distort the words of the righteous.
16:20 You must pursue justice alone so that you may live and inherit the land the Lord your God is giving you.
Examples of Legal Cases
16:21 You must not plant any kind of tree as a sacred Asherah pole near the altar of the Lord your God which you build for yourself.
16:22 You must not erect a sacred pillar, a thing the Lord your God detests.
17:1 You must not sacrifice to him a bull or sheep that has a blemish or any other defect, because that is considered offensive to the Lord your God.
17:2 Suppose a man or woman is discovered among you – in one of your villages that the Lord your God is giving you – who sins before the Lord your God and breaks his covenant
17:3 by serving other gods and worshiping them – the sun, moon, or any other heavenly bodies which I have not permitted you to worship.
17:4 When it is reported to you and you hear about it, you must investigate carefully. If it is indeed true that such a disgraceful thing is being done in Israel,
17:5 you must bring to your city gates that man or woman who has done this wicked thing – that very man or woman – and you must stone that person to death.
17:6 At the testimony of two or three witnesses they must be executed. They cannot be put to death on the testimony of only one witness.
17:7 The witnesses must be first to begin the execution, and then all the people are to join in afterward. In this way you will purge evil from among you.