You shall not pervert justice. You shall not show partiality, and you shall not accept a bribe, for a bribe blinds the eyes of the wise and subverts the cause of the righteous.
Here is, I. Care taken for the due administration of justice among them, that controversies might be determined, matters in variance adjusted, the injured redressed, and the injurious punished. While they were encamped in the wilderness, they had judges and officers according to their numbers, rulers of thousands and hundreds, Exo 18:25.
Commenting on Deuteronomy 16:18-22
That which is altogether just shalt thou follow,.... Or "justice", "justice" (a), strict justice, and nothing else: that thou mayest live and inherit the land which the Lord thy God giveth thee; that is, continue in the possession of it. (a)
Deu 16:18-20 Appointment and Instruction of the Judges. - Deu 16:18. “Judges and officers thou shalt appoint thee in all thy gates (place, see at Exo 20:10), which Jehovah thy God shall give thee, according to thy tribes.” The nation is addressed as a whole, and directed to appoint for itself judges and officers, i.e., to choose them, and have them appointed by its rulers...
Commenting on Deuteronomy 16:18-20