What does Deuteronomy 25:3 mean?
But don't go over forty lashes, or you'll end up humiliating your neighbor instead of just correcting them. Deuteronomy 25:3 - Modern Text Bible
(There's a limit to punishment, to protect the dignity of the person being punished. Justice shouldn't turn into cruelty.)