New King James Version (NKJV)
Deuteronomy 16
18 "You shall appoint judges and officers in all your gates, which the Lord your God gives you, according to your tribes, and they shall judge the people with just judgment.
19 You shall not pervert justice; you shall not show partiality, nor take a bribe, for a bribe blinds the eyes of the wise and twists the words of the righteous.
20 You shall follow what is altogether just, that you may live and inherit the land which the Lord your God is giving you.
21 "You shall not plant for yourself any tree, as a wooden image, near the altar which you build for yourself to the Lord your God.
22 You shall not set up a sacred pillar, which the Lord your God hates.
Deuteronomy 17
1 "You shall not sacrifice to the Lord your God a bull or sheep which has any blemish or defect, for that is an abomination to the Lord your God.
2 "If there is found among you, within any of your gates which the Lord your God gives you, a man or a woman who has been wicked in the sight of the Lord your God, in transgressing His covenant,
3 who has 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,
4 and it is told you, and you hear of it, then you shall inquire diligently. And if it is indeed true and certain that such an abomination has been committed in Israel,
5 then you shall bring out to your gates that man or woman who has committed that wicked thing, and shall stone to death that man or woman with stones.
6 Whoever is deserving of death shall be put to death on the testimony of two or three witnesses; he shall not be put to death on the testimony of one witness.