Ecclesiastes 8:3

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,
-World English Bible

Other Translation

8:3 Be not hasty to go out of his sight: stand not in an evil thing; for he doeth whatsoever pleaseth him.
-King James Version