Proverbs 13:24

13:24 The one who spares his rod hates his child,

but the one who loves his child is diligent in disciplining him.

Proverbs 22:15

22:15 Folly is bound up in the heart of a child,

but the rod of discipline will drive it far from him.