Proverbs 20:30 in the King James Version
The blueness of a wound cleanseth away evil: so do stripes the inward parts of the belly.
Context
29 The glory of young men is their strength. The splendor of old men is their gray hair.
30 Wounding blows cleanse away evil, and beatings purge the innermost parts.