Ecclesiastes 8:2-9 ESV
I say: Keep the king’s command, because of God’s oath to him. Be not hasty to go from his presence. Do not take your stand in an evil cause, for he does whatever he pleases. For the word of the king is supreme, and who may say to him, “What are you doing?” Whoever keeps a command will know no evil thing, and the wise heart will know the proper time and the just way. For there is a time and a way for everything, although man’s trouble lies heavy on him. For he does not know what is to be, for who can tell him how it will be? No man has power to retain the spirit, or power over the day of death. There is no discharge from war, nor will wickedness deliver those who are given to it. All this I observed while applying my heart to all that is done under the sun, when man had power over man to his hurt.
ESV: English Standard Version 2016