Proverbs 19:25

New American Standard Bible (NASB)
Strike a scoffer and the [r]naive may become shrewd,
But reprove one who has understanding and he will [s]gain knowledge.

Read Proverbs 19:25 in other translations