Let thy garments be always white - The Jews wore white garments on festal occasions, as emblems of joy and innocence. Be always pure, and always happy. The inhabitants of India are all dressed in clean white cotton, and to this is the allusion in the text.
The Targum says: "At all times let thy garments be washed and pure from the stain of sin. Acquire a good name, which is likened to the oil of anointing, that blessings may be called down up thy head, and goodness not forsake thee."
Read these six verses connectedly, in order to arrive at the meaning of the writer; and compare Ecclesiastes 2:1-12.
After the description Ecclesiastes 9:5-6 of the portionless condition of the dead, the next thought which occurs is that the man who is prosperous and active should simply enjoy his portion all through this life Ecclesiastes 9:7-10; and then Ecclesiastes 9:11-12 follows the correcting thought (see Ecclesiastes 3:1-15 note), introduced as usual Ecclesiastes 2:12; Ecclesiastes 4:1, Ecclesiastes 4:7 by “I returned,” namely, that the course of events is disposed and regulated by another will than that of man.
The person addressed is one whose life of labor is already pleasing to God, and who bears visible tokens of God‘s favor.
Ecclesiastes 9:7
Now accepteth - Rather: “already has pleasure in.” Joy (the marginal reference note) is regarded as a sign of the approbation and favor of God.
Ecclesiastes 9:8
White garments and perfume are simply an expressive sign of joy.
Ecclesiastes 9:10
The works which we carry on here with the combined energies of body and soul come to an end in the hour of death, when the soul enters a new sphere of existence, and body and soul cease to act together. Compare John 9:4.
Device - See Ecclesiastes 7:25 note.
Ecclesiastes 9:11
Chance - Or, “incident,” that which comes to us from without, one of the external events described in Ecclesiastes 2:14 note.
Ecclesiastes 9:12
Time - See Ecclesiastes 3:1 ff.