Also to punish the righteous is not good, nor to flog officials for their integrity.
and it shall be, if the wicked man be 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.
Flog a scoffer, and the simple will learn prudence; rebuke one who has understanding, and he will gain knowledge.
A rebuke enters deeper into one who has understanding than a hundred lashes into a fool.
Penalties are prepared for scoffers, and beatings for the backs of fools.
Don't withhold correction from a child. If you punish him with the rod, he will not die.