2 If the guilty person deserves to be beaten, the judge shall make them lie down and have them flogged in his presence with the number of lashes the crime deserves,

Matthew Henry's Commentary on Deuteronomy 25:2

Commentary on Deuteronomy 25:1-3

(Read Deuteronomy 25:1-3)

Every punishment should be with solemnity, that those who see it may be filled with dread, and be warned not to offend in like manner. And though the criminals must be shamed as well as put to pain, for their warning and disgrace, yet care should be taken that they do not appear totally vile. Happy those who are chastened of the Lord to humble them, that they should not be condemned with the world to destruction.