Deuteronomy 25:3 New International Reader's Version (NIRV)

But the judge must not give the guilty man more than 40 strokes. If more than that are used, you will look down on your Israelite neighbor.

Deuteronomy 25

Deuteronomy 25:1-11