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

Ecclesiastes 4:17

Keep thy foot, whensoever thou goest to the house of God; and [when thou art] near to hear, let thy sacrifice [be] better than the gift of fools: for they know not that they are doing evil.

Read in other translations