Ecclesiastes 8:3 in the King James Version
Be not hasty to go out of his sight: stand not in an evil thing; for he doeth whatsoever pleaseth him.
Context
2 I say, “Keep the king’s command!” because of the oath to God.
3 Don’t be hasty to go out of his presence. Don’t persist in an evil thing, for he does whatever pleases him,
4 for the king’s word is supreme. Who can say to him, “What are you doing?”