Proverbs 22:15

22:15 Folly is bound up in the heart of a child: The rod of discipline drives it far from him.
-World English Bible

Other Translation

22:15 Foolishness [is] bound in the heart of a child; [but] the rod of correction shall drive it far from him.
-King James Version