In context
5Whoever keeps a command will know no evil thing, and a wise heart knows the time and the judgment. 6For every matter has its time and its judgment, though a man’s trouble lies heavy on him. 7For he does not know what will be; and when it will be — who can tell him? 8No man has power over the spirit, to hold back the spirit; no one has power over the day of death; there is no discharge from that war, and wickedness will not deliver those who possess it. 9All this I saw when I gave my heart to every deed that is done under the sun, at a time when one man had power over another to hurt him.
