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

Ecclesiastes 8:3

Don’t be hasty to go out of his presence. Don’t persist in an evil thing, for he does whatever pleases him,

Read in other translations