Proverbs 17:10

New International Reader's Version Bible (NIRV)
A person who understands what is right learns more from just a warning
    than a foolish person learns from 100 strokes with a whip.

Read Proverbs 17:10 in other translations