Ecclesiastes 11:8

So if a person lives many years, let him rejoice in them all; but let him remember that the days of darkness will be many. All that comes is vanity.

Deuteronomy 32:29

If they were wise, they would understand this; they would discern their latter end!

Job 10:22

the land of gloom like thick darkness, like deep shadow without any order, where light is as thick darkness."

Job 14:10

But a man dies and is laid low; man breathes his last, and where is he?

Job 15:23

He wanders abroad for bread, saying, 'Where is it?' He knows that a day of darkness is ready at his hand;

Job 18:18

He is thrust from light into darkness, and driven out of the world.

Ecclesiastes 2:1-11

I said in my heart, "Come now, I will test you with pleasure; enjoy yourself." But behold, this also was vanity.

Ecclesiastes 2:15

Then I said in my heart, "What happens to the fool will happen to me also. Why then have I been so very wise?" And I said in my heart that this also is vanity.

Ecclesiastes 2:17

So I hated life, because what is done under the sun was grievous to me, for all is vanity and a striving after wind.

Ecclesiastes 2:19

and who knows whether he will be wise or a fool? Yet he will be master of all for which I toiled and used my wisdom under the sun. This also is vanity.

Ecclesiastes 2:21-23

because sometimes a person who has toiled with wisdom and knowledge and skill must leave everything to be enjoyed by someone who did not toil for it. This also is vanity and a great evil.

Ecclesiastes 2:26

For to the one who pleases him God has given wisdom and knowledge and joy, but to the sinner he has given the business of gathering and collecting, only to give to one who pleases God. This also is vanity and a striving after wind.

Ecclesiastes 3:12-13

I perceived that there is nothing better for them than to be joyful and to do good as long as they live;

Ecclesiastes 4:8

one person who has no other, either son or brother, yet there is no end to all his toil, and his eyes are never satisfied with riches, so that he never asks, "For whom am I toiling and depriving myself of pleasure?" This also is vanity and an unhappy business.

Ecclesiastes 4:16

There was no end of all the people, all of whom he led. Yet those who come later will not rejoice in him. Surely this also is vanity and a striving after wind.

Ecclesiastes 5:15-16

As he came from his mother's womb he shall go again, naked as he came, and shall take nothing for his toil that he may carry away in his hand.

Ecclesiastes 5:18-20

Behold, what I have seen to be good and fitting is to eat and drink and find enjoyment in all the toil with which one toils under the sun the few days of his life that God has given him, for this is his lot.

Ecclesiastes 6:6

Even though he should live a thousand years twice over, yet enjoy no good--do not all go to the one place?

Ecclesiastes 6:11

The more words, the more vanity, and what is the advantage to man?

Ecclesiastes 7:14

In the day of prosperity be joyful, and in the day of adversity consider: God has made the one as well as the other, so that man may not find out anything that will be after him.

Ecclesiastes 8:12

Though a sinner does evil a hundred times and prolongs his life, yet I know that it will be well with those who fear God, because they fear before him.

Ecclesiastes 8:15

And I commend joy, for man has no good thing under the sun but to eat and drink and be joyful, for this will go with him in his toil through the days of his life that God has given him under the sun.

Ecclesiastes 12:1-5

Remember also your Creator in the days of your youth, before the evil days come and the years draw near of which you will say, "I have no pleasure in them";

Jeremiah 13:16

Give glory to the LORD your God before he brings darkness, before your feet stumble on the twilight mountains, and while you look for light he turns it into gloom and makes it deep darkness.

Joel 2:2

a day of darkness and gloom, a day of clouds and thick darkness! Like blackness there is spread upon the mountains a great and powerful people; their like has never been before, nor will be again after them through the years of all generations.

Matthew 22:13

Then the king said to the attendants, 'Bind him hand and foot and cast him into the outer darkness. In that place there will be weeping and gnashing of teeth.'

John 12:35

So Jesus said to them, "The light is among you for a little while longer. Walk while you have the light, lest darkness overtake you. The one who walks in the darkness does not know where he is going.

Jude 1:18

They said to you, "In the last time there will be scoffers, following their own ungodly passions."

Treasury of Scripture Knowledge

Summary

But if a man live many years, and rejoice in them all; yet let him remember the days of darkness; for they shall be many. All that cometh is vanity.

General references

Bible References

If a man

Ecclesiastes 6:6
Even though he should live a thousand years twice over, yet enjoy no good--do not all go to the one place?
Ecclesiastes 8:12
Though a sinner does evil a hundred times and prolongs his life, yet I know that it will be well with those who fear God, because they fear before him.

Rejoice

Ecclesiastes 3:12
I perceived that there is nothing better for them than to be joyful and to do good as long as they live;
Ecclesiastes 5:18
Behold, what I have seen to be good and fitting is to eat and drink and find enjoyment in all the toil with which one toils under the sun the few days of his life that God has given him, for this is his lot.
Ecclesiastes 8:15
And I commend joy, for man has no good thing under the sun but to eat and drink and be joyful, for this will go with him in his toil through the days of his life that God has given him under the sun.

Yet

Ecclesiastes 7:14
In the day of prosperity be joyful, and in the day of adversity consider: God has made the one as well as the other, so that man may not find out anything that will be after him.
Ecclesiastes 12:1
Remember also your Creator in the days of your youth, before the evil days come and the years draw near of which you will say, "I have no pleasure in them";
Deuteronomy 32:29
If they were wise, they would understand this; they would discern their latter end!
Job 10:22
the land of gloom like thick darkness, like deep shadow without any order, where light is as thick darkness."
Job 14:10
But a man dies and is laid low; man breathes his last, and where is he?
Job 15:23
He wanders abroad for bread, saying, 'Where is it?' He knows that a day of darkness is ready at his hand;
Job 18:18
He is thrust from light into darkness, and driven out of the world.
Jeremiah 13:16
Give glory to the LORD your God before he brings darkness, before your feet stumble on the twilight mountains, and while you look for light he turns it into gloom and makes it deep darkness.
Joel 2:2
a day of darkness and gloom, a day of clouds and thick darkness! Like blackness there is spread upon the mountains a great and powerful people; their like has never been before, nor will be again after them through the years of all generations.
Matthew 22:13
Then the king said to the attendants, 'Bind him hand and foot and cast him into the outer darkness. In that place there will be weeping and gnashing of teeth.'
John 12:35
So Jesus said to them, "The light is among you for a little while longer. Walk while you have the light, lest darkness overtake you. The one who walks in the darkness does not know where he is going.
Jude 1:18
They said to you, "In the last time there will be scoffers, following their own ungodly passions."

All that

Ecclesiastes 2:1
I said in my heart, "Come now, I will test you with pleasure; enjoy yourself." But behold, this also was vanity.
Ecclesiastes 4:8
one person who has no other, either son or brother, yet there is no end to all his toil, and his eyes are never satisfied with riches, so that he never asks, "For whom am I toiling and depriving myself of pleasure?" This also is vanity and an unhappy business.
Ecclesiastes 5:15
As he came from his mother's womb he shall go again, naked as he came, and shall take nothing for his toil that he may carry away in his hand.
Ecclesiastes 6:11
The more words, the more vanity, and what is the advantage to man?

General references

Ecclesiastes 1:2
Vanity of vanities, says the Preacher, vanity of vanities! All is vanity.

The Holy Bible, English Standard Version® copyright © 2001 by Crossway Bibles, a publishing ministry of Good News Publishers.