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

Ecclesiastes 7:5

It is better to hear the rebuke of the wise, than for a man to hear the song of fools.

Read in other translations