Proverbs 22:15

New International Version - UK Bible (NIVUK)
Folly is bound up in the heart of a child,
    but the rod of discipline will drive it far away.

Read Proverbs 22:15 in other translations