When the scoffer is punished, the simple grow wise; when the wise is instructed, he gains knowledge.
In context
9Better to live on a corner of the roof than share a house with a quarrelsome wife. 10The soul of the wicked craves evil; his neighbor finds no mercy in his eyes. 11When the scoffer is punished, the simple grow wise; when the wise is instructed, he gains knowledge. 12The Righteous One watches the house of the wicked and topples the wicked into ruin. 13Whoever shuts his ear to the cry of the poor will himself cry out and go unanswered.