1 Man ("Man" is to v.1 what v.1 is to the whole paragraph. The Heb. accent emphasizes the word "man", and divides the verse into 2 members; namely  man and  his characteristics which are three:  his origin [born in sin],  his brevity of life, and  his fullness of sorrow) that is born of a woman is of few days and full of trouble.
2 He comes forth like a flower, and is cut down: he flees also as a shadow, and continues not.
3 And do you open your eyes upon such an one, and bring me into judgment with you?
4 Who can bring a clean thing out of an unclean? not one.
5 Seeing his days are determined, the number of his months are with you, you have appointed his bounds that he cannot pass;
6 Turn from him, that he may rest, till he shall accomplish, as an hireling, his day.
7 For there is hope of a tree (this is a positive independent statement, about which there is no doubt. There should be a full stop here. Then the Heb. accents mark off 2 hypothesis:  if it is cut down the Spring will wake its sap;  if waxing old [v.8] it may still send forth a new growth. But there is no hope of man's living again in a new tree. If he is to "live again" he must be raised from the dead), if it be cut down, that it will sprout again, and that the tender branch thereof will not cease.
8 Though the root thereof wax old in the earth, and the stock thereof die in the ground;
9 Yet through the scent of water it will bud, and bring forth boughs like a new plant.
10 But a strong man dies, and will decompose: yes, man expires, and where is he?
11 As the waters fail from the sea, and the flood decays and dries up:
12 So man lies down, and rises not: till the heavens be no more, they shall not awake, nor be raised out of their sleep.
13 O that you would hide me in the grave (= Sheol), that you would keep me secret, until your wrath be past, that you would appoint me a set time, and remember me!
14 If a man die, shall he live again? (i.e. in resurrection. Cp. John 11:25,26) all the days of my service will I wait, till my improvement come. (= a change for the better. See Lev. 27:10.)
15 You shalt call, and I will answer you: you will have a longing to the work of your hands.
16 For now you number my steps: do you not watch over my sin?
17 My transgression is sealed up in a bag, and you sew up my iniquity.
18 And surely the mountains falling come to nothing, and the rock is removed out of his place.
19 The waters wear the stones: you wash away the things which grow out of the dust of the earth; and you destroy the hope of a mortal.
20 You prevail for ever against him, and he passes: you change his countenance, and send him away.
21 His sons come to honor, and he knows it not; and they are brought low, but he perceives it not of them.
22 But (this verse describes what happens while he is alive) his flesh upon him shall have pain, and he himself over him shall mourn." (i.e. mourn "over himself". See Heb. 10:5.)