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

Proverbs 22:5

Thorns and snares are in the way of the froward: he that doth keep his soul shall be far from them.

Read in other translations