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

Proverbs 6:23

For the commandment is a lamp; and the law is light; and reproofs of instruction are the way of life:

Read in other translations