Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Proverbs 22:15

Foolishness is bound in the heart of a child; but the rod of correction shall drive it far from him.

Read in other translations