Proverbs 20:30

ISV(i) 30 Blows that wound clean away evil; such beatings cleanse the innermost being.