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

Ecclesiastes 8:3

Be not hasty to go out of his sight: stand not in an evil thing; for he doeth whatsoever pleaseth him.

Read in other translations