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

Ecclesiastes 7:18

It is well for thee to hold fast by this; also by this defile not thine hand: for to them that fear God all things shall come forth [well].

Read in other translations