Ecclesiastes 8:1-6 RSV

1 Who is like the wise man? And who knows the interpretation of a thing? A man's wisdom makes his face shine, and the hardness of his countenance is changed.
2 Keep the king's command, and because of your sacred oath be not dismayed;
3 go from his presence, do not delay when the matter is unpleasant, for he does whatever he pleases.
4 For the word of the king is supreme, and who may say to him, "What are you doing?"
5 He who obeys a command will meet no harm, and the mind of a wise man will know the time and way.
6 For every matter has its time and way, although man's trouble lies heavy upon him.