Ecclesiastes 8:3

Do not hasten to leave his presence, and do not persist in a bad cause, for he will do whatever he pleases.

Berean Standard Bible
Other translations

King James Version

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

World English Bible

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

American Standard Version

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

Geneva Bible 1599

Haste not to goe forth of his sight: stand not in an euill thing: for he will doe whatsoeuer pleaseth him.

Darby Translation

Be not hasty to go out of his sight; persist not in an evil thing: for he doeth whatever pleaseth him,

Young's Literal Translation

Be not troubled at his presence, thou mayest go, stand not in an evil thing, for all that he pleaseth he doth.

Bible in Basic English

Be not quick to go from before him. Be not fixed in an evil design, because he does whatever is pleasing to him.

In context

2Keep the king’s command, I say, because of your oath before God.

4For the king’s word is supreme, and who can say to him, “What are you doing?”

Read Ecclesiastes 8