Proverbs 22:15

New International Version Bible (NIV)
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