Ecclesiastes 12:2

2 before the sun and the light and the moon and the stars grow dark, and the clouds return after the rain;

Ecclesiastes 12:2 in Other Translations

KJV
2 While the sun, or the light, or the moon, or the stars, be not darkened, nor the clouds return after the rain:
ESV
2 before the sun and the light and the moon and the stars are darkened and the clouds return after the rain,
NLT
2 Remember him before the light of the sun, moon, and stars is dim to your old eyes, and rain clouds continually darken your sky.
MSG
2 Before your vision dims and the world blurs And the winter years keep you close to the fire.
CSB
2 before the sun and the light are darkened, and the moon and the stars, and the clouds return after the rain;

Ecclesiastes 12:2 Meaning and Commentary

Ecclesiastes 12:2

While the sun, or the light, or the moon, or the stars, be not
darkened
The wise man proceeds to describe the infirmities of old age, and the troubles that attend it; in order to engage young men to regard God and religion, before these come upon them, which greatly unfit for his service. This the Targum and Midrash, and, after them, Jarchi, interpret of the splendour of the countenance of man, of the light of his eyes, and the beauty of his cheeks, and other parts of his face; which decrease and go off at old age, and paleness and wrinkles succeed: and others of the adversities and calamities which attend persons at such years; which are sometimes in Scripture signified by the darkening of the sun, moon, and stars, ( Isaiah 13:10 ) ; but some choose to understand this, more literally, of the dimness of sight in old men; by whom the light of the sun, moon, and stars, is scarcely discerned: but as this infirmity is afterwards described, I rather think with others, that by the "sun", "light", and "moon", are meant the superior and inferior faculties of the soul, the understanding, mind, judgment, will, and affections; and, by the "stars", those bright notions and ideas raised in the fancy and imagination, and fixed in the memory; all which are greatly impaired or lost in old age: so Alshech interprets the sun and moon of the soul and spirit, and the stars of the senses; "light" is not in the Syriac version; nor the clouds return after the rain;
which some understand of catarrhs, defluxions, and rheums, flowing at the eyes, nose, and mouth, one after another, which frequently attend, and are very troublesome to persons in years; but may be more generally applied to the perpetual succession of evils, afflictions, and disorders, in old age; as soon as one is got over, another follows, billow after billow; or, like showers in April, as soon as one is gone, another comes. The Targum paraphrases it of the eyebrows distilling tears, like clouds after rain.

Ecclesiastes 12:2 In-Context

1 Remember your Creator in the days of your youth, before the days of trouble come and the years approach when you will say, “I find no pleasure in them”—
2 before the sun and the light and the moon and the stars grow dark, and the clouds return after the rain;
3 when the keepers of the house tremble, and the strong men stoop, when the grinders cease because they are few, and those looking through the windows grow dim;
4 when the doors to the street are closed and the sound of grinding fades; when people rise up at the sound of birds, but all their songs grow faint;
5 when people are afraid of heights and of dangers in the streets; when the almond tree blossoms and the grasshopper drags itself along and desire no longer is stirred. Then people go to their eternal home and mourners go about the streets.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.