Ecclesiastes 11:8

Yes, if a man lives many years, let him rejoice in them all; but let him remember the days of darkness, for they shall be many. All that comes is vanity.

Deuteronomy 32:29

Oh that they were wise, that they understood this, that they would consider their latter end!

Job 10:22

the land dark as midnight, of the shadow of death, without any order, where the light is as midnight.'"

Job 14:10

But man dies, and is laid low. Yes, man gives up the spirit, and where is he?

Job 15:23

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

Job 18:18

He shall be driven from light into darkness, and chased out of the world.

Ecclesiastes 2:1-11

I said in my heart, "Come now, I will test you with mirth: therefore enjoy pleasure;" and behold, this also was vanity.

Ecclesiastes 2:15

Then I said in my heart, "As it happens to the fool, so will it happen even to me; and why was I then more wise?" Then I said in my heart that this also is vanity.

Ecclesiastes 2:17

So I hated life, because the work that is worked under the sun was grievous to me; for all is vanity and a chasing after wind.

Ecclesiastes 2:19

Who knows whether he will be a wise man or a fool? Yet he will have rule over all of my labor in which I have labored, and in which I have shown myself wise under the sun. This also is vanity.

Ecclesiastes 2:21-23

For there is a man whose labor is with wisdom, with knowledge, and with skillfulness; yet he shall leave it for his portion to a man who has not labored for it. This also is vanity and a great evil.

Ecclesiastes 2:26

For to the man who pleases him, God gives wisdom, knowledge, and joy; but to the sinner he gives travail, to gather and to heap up, that he may give to him who pleases God. This also is vanity and a chasing after wind.

Ecclesiastes 3:12-13

I know that there is nothing better for them than to rejoice, and to do good as long as they live.

Ecclesiastes 4:8

There is one who is alone, and he has neither son nor brother. There is no end to all of his labor, neither are his eyes satisfied with wealth. "For whom then, do I labor, and deprive my soul of enjoyment?" This also is vanity. Yes, it is a miserable business.

Ecclesiastes 4:16

There was no end of all the people, even of all them over whom he was -- yet those who come after shall not rejoice in him. Surely this also is vanity and a chasing after wind.

Ecclesiastes 5:15-16

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

Ecclesiastes 5:18-20

Behold, that which I have seen to be good and proper is for one to eat and to drink, and to enjoy good in all his labor, in which he labors under the sun, all the days of his life which God has given him; for this is his portion.

Ecclesiastes 6:6

Yes, though he live a thousand years twice told, and yet fails to enjoy good, don't all go to one place?

Ecclesiastes 6:11

For there are many words that create vanity. What does that profit man?

Ecclesiastes 7:14

In the day of prosperity be joyful, and in the day of adversity consider; yes, God has made the one side by side with the other, to the end that man should not find out anything after him.

Ecclesiastes 8:12

Though a sinner commits crimes a hundred times, and lives long, yet surely I know that it will be better with those who fear God, who are reverent before him.

Ecclesiastes 8:15

Then I commended mirth, because a man has no better thing under the sun, than to eat, and to drink, and to be joyful: for that will accompany him in his labor all the days of his life which 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, when you will say, "I have no pleasure in them;"

Jeremiah 13:16

Give glory to Yahweh your God, before he causes darkness, and before your feet stumble on the dark mountains, and, while you look for light, he turns it into the shadow of death, and makes it gross darkness.

Joel 2:2

A day of darkness and gloominess, a day of clouds and thick darkness. As the dawn spreading on the mountains, a great and strong people; there has never been the like, neither will there be any more after them, even to the years of many generations.

Matthew 22:13

Then the king said to the servants, 'Bind him hand and foot, take him away, and throw him into the outer darkness; there is where the weeping and grinding of teeth will be.'

John 12:35

Jesus therefore said to them, "Yet a little while the light is with you. Walk while you have the light, that darkness doesn't overtake you. He who walks in the darkness doesn't know where he is going.

Jude 1:18

They said to you that "In the last time there will be mockers, walking after their own ungodly lusts."

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
Yes, though he live a thousand years twice told, and yet fails to enjoy good, don't all go to one place?
Ecclesiastes 8:12
Though a sinner commits crimes a hundred times, and lives long, yet surely I know that it will be better with those who fear God, who are reverent before him.

Rejoice

Ecclesiastes 3:12
I know that there is nothing better for them than to rejoice, and to do good as long as they live.
Ecclesiastes 5:18
Behold, that which I have seen to be good and proper is for one to eat and to drink, and to enjoy good in all his labor, in which he labors under the sun, all the days of his life which God has given him; for this is his portion.
Ecclesiastes 8:15
Then I commended mirth, because a man has no better thing under the sun, than to eat, and to drink, and to be joyful: for that will accompany him in his labor all the days of his life which 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; yes, God has made the one side by side with the other, to the end that man should not find out anything 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, when you will say, "I have no pleasure in them;"
Deuteronomy 32:29
Oh that they were wise, that they understood this, that they would consider their latter end!
Job 10:22
the land dark as midnight, of the shadow of death, without any order, where the light is as midnight.'"
Job 14:10
But man dies, and is laid low. Yes, man gives up the spirit, and where is he?
Job 15:23
He wanders abroad for bread, saying, 'Where is it?' He knows that the day of darkness is ready at his hand.
Job 18:18
He shall be driven from light into darkness, and chased out of the world.
Jeremiah 13:16
Give glory to Yahweh your God, before he causes darkness, and before your feet stumble on the dark mountains, and, while you look for light, he turns it into the shadow of death, and makes it gross darkness.
Joel 2:2
A day of darkness and gloominess, a day of clouds and thick darkness. As the dawn spreading on the mountains, a great and strong people; there has never been the like, neither will there be any more after them, even to the years of many generations.
Matthew 22:13
Then the king said to the servants, 'Bind him hand and foot, take him away, and throw him into the outer darkness; there is where the weeping and grinding of teeth will be.'
John 12:35
Jesus therefore said to them, "Yet a little while the light is with you. Walk while you have the light, that darkness doesn't overtake you. He who walks in the darkness doesn't know where he is going.
Jude 1:18
They said to you that "In the last time there will be mockers, walking after their own ungodly lusts."

All that

Ecclesiastes 2:1
I said in my heart, "Come now, I will test you with mirth: therefore enjoy pleasure;" and behold, this also was vanity.
Ecclesiastes 4:8
There is one who is alone, and he has neither son nor brother. There is no end to all of his labor, neither are his eyes satisfied with wealth. "For whom then, do I labor, and deprive my soul of enjoyment?" This also is vanity. Yes, it is a miserable business.
Ecclesiastes 5:15
As he came forth from his mother's womb, naked shall he go again as he came, and shall take nothing for his labor, which he may carry away in his hand.
Ecclesiastes 6:11
For there are many words that create vanity. What does that profit man?

General references

Ecclesiastes 1:2
"Vanity of vanities," says the Preacher; "Vanity of vanities, all is vanity."