Ecclesiastes 8:6

4 For the king’s word is supreme, and who can say to him, “What are you doing?”

5 Whoever keeps his command will come to no harm, and a wise heart knows the right time and procedure.

For there is a right time and procedure to every purpose, though a man’s misery weighs heavily upon him.

7 Since no one knows what will happen, who can tell him what is to come?

8 As no man has power over the wind to contain it, so no one has authority over his day of death. As no one can be discharged in wartime, so wickedness will not release those who practice it.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
For there is a right time and procedure to every purpose, though a man’s misery weighs heavily upon him.
KJV
Because to every purpose there is time and judgment, therefore the misery of man is great upon him.
WEB
For there is a time and procedure for every purpose, although the misery of man is heavy on him.
ASV
for to every purpose there is a time and judgment; because the misery of man is great upon him:
DARBY
For to every purpose there is time and manner. For the misery of man is great upon him;
BLB
For to every delight there is a time and a judgment, though the misery of man is great upon him.
ÅB
For hvert foretagende har sin tid og sin dom; for hvert menneskes onde gjerning kommer til å hvile tungt på ham;
OTB
For det er en riktig tid og fremgangsmåte for enhver sak, selv om en persons problemer veier tungt på dem.
B1930
For hvert foretagende har sin tid og sin dom; for hvert menneskes onde gjerning kommer til å hvile tungt på ham;

Study notes (Tyndale)

Original text and word study

Cross references