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

Proverbs 22:18

that thou mayest know that they are good: and if thou lay them to heart, they shall also gladden thee on thy lips.

Read in other translations