Proverbs 29:15

15 A spanking and a warning produce wisdom, but an undisciplined child disgraces his mother.