Proverbs 21:11

Amplified Bible (AMP)

When the scoffer is punished, the naive [observes the lesson and] becomes wise;
But when the wise and teachable person is instructed, he receives knowledge.

Read Proverbs 21:11 in other translations