Deuteronomy 25:1-3
The Lord requires Israel's judges to render true verdicts and measured punishment, because justice becomes unrighteous when it either excuses guilt or degrades the guilty beyond the offense.
1 If there is a controversy between men, and they come to judgment and the judges judge them, then they shall justify the righteous and condemn the wicked.
2 It shall be, if the wicked man is worthy to be beaten, that the judge shall cause him to lie down and to be beaten before his face, according to his wickedness, by number.
3 He may sentence him to no more than forty stripes. He shall not give more, lest if he should give more and beat him more than that many stripes, then your brother will be degraded in your sight.
The LORD requires Israel's judges to render true verdicts and measured punishment, because justice becomes unrighteous when it either excuses guilt or degrades the guilty beyond the offense.
Moses instructs Israel's courts to judge disputes truthfully, vindicating the innocent and condemning the guilty, while limiting corporal punishment so that even a guilty covenant brother is not degraded beyond justice.
In Israel's covenant society, disputes were to be adjudicated before judges rather than settled through private retaliation. Corporal punishment could occur as a public judicial sentence, but this law limits it by number and requires judicial oversight so that punishment remains measured.
Justice, Dignity, and the Perpetuation of the Covenant Line
Covenant justice in Israel protects human dignity, preserves family and tribal continuity, and guards the community's integrity before YHWH — from the punishment of the guilty to the perpetuation of the family line to the extermination of the enemy who attacked the vulnerable.