Proverbs 19:25

NIV
New International Version

25Flog a mocker, and the simple will learn prudence;
rebuke the discerning, and they will gain knowledge.