Proverbs 19:25

NKJV
“Strike a scoffer, and the simple will become wary; Rebuke one who has understanding, and he will discern knowledge.”