Proverbs 17:10 in the King James Version
A reproof entereth more into a wise man than an hundred stripes into a fool.
Context
9 He who covers an offense promotes love; but he who repeats a matter separates best friends.
10 A rebuke enters deeper into one who has understanding than a hundred lashes into a fool.
11 An evil man seeks only rebellion; therefore a cruel messenger shall be sent against him.