3 Forty stripes he may give him, he shall not exceed; lest, if he should exceed, and beat him above these with many stripes, then your brother should seem vile to you.

Matthew Henry's Commentary on Deuteronomy 25:3

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.