Proverbs 20:30 in the World English Bible
Wounding blows cleanse away evil, and beatings purge the innermost parts.
Context
29 The glory of young men is their strength: and the beauty of old men is the gray head.
30 The blueness of a wound cleanseth away evil: so do stripes the inward parts of the belly.