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

Proverbs 27:18

Whoso keepeth the fig tree shall eat the fruit thereof: so he that waiteth on his master shall be honoured.

Read in other translations