Proverbs 21:11 NIV

11 When a mocker is punished, the simple gain wisdom; when a wise man is instructed, he gets knowledge.1

References for Proverbs 21:11