Ecclesiastes 11:8

But, if man liveth many years, In all of them let him rejoice, And remember the days of darkness, For they are many! all that is coming is vanity.

Deuteronomy 32:29

If they were wise -- They deal wisely with this; They attend to their latter end:

Job 10:22

A land of obscurity as thick darkness, Death-shade -- and no order, And the shining is as thick darkness.'

Job 14:10

And a man dieth, and becometh weak, And man expireth, and where is he?

Job 15:23

He is wandering for bread -- 'Where is it?' He hath known that ready at his hand Is a day of darkness.

Job 18:18

They thrust him from light unto darkness, And from the habitable earth cast him out.

Ecclesiastes 2:1-11

I said in my heart, 'Pray, come, I try thee with mirth, and look thou on gladness;' and lo, even it is vanity.

Ecclesiastes 2:15

and I said in my heart, 'As it happeneth with the fool, it happeneth also with me, and why am I then more wise?' And I spake in my heart, that also this is vanity:

Ecclesiastes 2:17

And I have hated life, for sad to me is the work that hath been done under the sun, for the whole is vanity and vexation of spirit.

Ecclesiastes 2:19

And who knoweth whether he is wise or foolish? yet he doth rule over all my labour that I have laboured at, and that I have done wisely under the sun! this also is vanity.

Ecclesiastes 2:21-23

For there is a man whose labour is in wisdom, and in knowledge, and in equity, and to a man who hath not laboured therein he giveth it -- his portion! Even this is vanity and a great evil.

Ecclesiastes 2:26

For to a man who is good before Him, He hath given wisdom, and knowledge, and joy; and to a sinner He hath given travail, to gather and to heap up, to give to the good before God. Even this is vanity and vexation of spirit.

Ecclesiastes 3:12-13

I have known that there is no good for them except to rejoice and to do good during their life,

Ecclesiastes 4:8

There is one, and there is not a second; even son or brother he hath not, and there is no end to all his labour! His eye also is not satisfied with riches, and he saith not, 'For whom am I labouring and bereaving my soul of good?' This also is vanity, it is a sad travail.

Ecclesiastes 4:16

there is no end to all the people, to all who were before them; also, the latter rejoice not in him. Surely this also is vanity and vexation of spirit.

Ecclesiastes 5:15-16

As he came out from the belly of his mother, naked he turneth back to go as he came, and he taketh not away anything of his labour, that doth go in his hand.

Ecclesiastes 5:18-20

Lo, that which I have seen: It is good, because beautiful, to eat, and to drink, and to see good in all one's labour that he laboureth at under the sun, the number of the days of his life that God hath given to him, for it is his portion.

Ecclesiastes 6:6

And though he had lived a thousand years twice over, yet good he hath not seen; to the same place doth not every one go?

Ecclesiastes 6:11

For there are many things multiplying vanity; what advantage is to man?

Ecclesiastes 7:14

In a day of prosperity be in gladness, And in a day of evil consider. Also this over-against that hath God made, To the intent that man doth not find anything after him.

Ecclesiastes 8:12

Though a sinner is doing evil a hundred times, and prolonging himself for it, surely also I know that there is good to those fearing God, who fear before Him.

Ecclesiastes 8:15

And I have praised mirth because there is no good to man under the sun except to eat and to drink, and to rejoice, and it remaineth with him of his labour the days of his life that God hath given to him under the sun.

Ecclesiastes 12:1-5

Remember also thy Creators in days of thy youth, While that the evil days come not, Nor the years have arrived, that thou sayest, 'I have no pleasure in them.'

Jeremiah 13:16

Give ye to Jehovah your God honour, Before He doth cause darkness, And before your feet stumble on dark mountains, And ye have waited for light, And He hath made it for death-shade, And hath appointed it for thick darkness.

Joel 2:2

A day of darkness and thick darkness, A day of cloud and thick darkness, As darkness spread on the mountains, A people numerous and mighty, Like it there hath not been from of old, And after it there is not again -- till the years of generation and generation.

Matthew 22:13

'Then said the king to the ministrants, Having bound his feet and hands, take him up and cast forth to the outer darkness, there shall be the weeping and the gnashing of the teeth;

John 12:35

Jesus, therefore, said to them, 'Yet a little time is the light with you; walk while ye have the light, that darkness may not overtake you; and he who is walking in the darkness hath not known where he goeth;

Jude 1:18

that they said to you, that in the last time there shall be scoffers, after their own desires of impieties going on,

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
And though he had lived a thousand years twice over, yet good he hath not seen; to the same place doth not every one go?
Ecclesiastes 8:12
Though a sinner is doing evil a hundred times, and prolonging himself for it, surely also I know that there is good to those fearing God, who fear before Him.

Rejoice

Ecclesiastes 3:12
I have known that there is no good for them except to rejoice and to do good during their life,
Ecclesiastes 5:18
Lo, that which I have seen: It is good, because beautiful, to eat, and to drink, and to see good in all one's labour that he laboureth at under the sun, the number of the days of his life that God hath given to him, for it is his portion.
Ecclesiastes 8:15
And I have praised mirth because there is no good to man under the sun except to eat and to drink, and to rejoice, and it remaineth with him of his labour the days of his life that God hath given to him under the sun.

Yet

Ecclesiastes 7:14
In a day of prosperity be in gladness, And in a day of evil consider. Also this over-against that hath God made, To the intent that man doth not find anything after him.
Ecclesiastes 12:1
Remember also thy Creators in days of thy youth, While that the evil days come not, Nor the years have arrived, that thou sayest, 'I have no pleasure in them.'
Deuteronomy 32:29
If they were wise -- They deal wisely with this; They attend to their latter end:
Job 10:22
A land of obscurity as thick darkness, Death-shade -- and no order, And the shining is as thick darkness.'
Job 14:10
And a man dieth, and becometh weak, And man expireth, and where is he?
Job 15:23
He is wandering for bread -- 'Where is it?' He hath known that ready at his hand Is a day of darkness.
Job 18:18
They thrust him from light unto darkness, And from the habitable earth cast him out.
Jeremiah 13:16
Give ye to Jehovah your God honour, Before He doth cause darkness, And before your feet stumble on dark mountains, And ye have waited for light, And He hath made it for death-shade, And hath appointed it for thick darkness.
Joel 2:2
A day of darkness and thick darkness, A day of cloud and thick darkness, As darkness spread on the mountains, A people numerous and mighty, Like it there hath not been from of old, And after it there is not again -- till the years of generation and generation.
Matthew 22:13
'Then said the king to the ministrants, Having bound his feet and hands, take him up and cast forth to the outer darkness, there shall be the weeping and the gnashing of the teeth;
John 12:35
Jesus, therefore, said to them, 'Yet a little time is the light with you; walk while ye have the light, that darkness may not overtake you; and he who is walking in the darkness hath not known where he goeth;
Jude 1:18
that they said to you, that in the last time there shall be scoffers, after their own desires of impieties going on,

All that

Ecclesiastes 2:1
I said in my heart, 'Pray, come, I try thee with mirth, and look thou on gladness;' and lo, even it is vanity.
Ecclesiastes 4:8
There is one, and there is not a second; even son or brother he hath not, and there is no end to all his labour! His eye also is not satisfied with riches, and he saith not, 'For whom am I labouring and bereaving my soul of good?' This also is vanity, it is a sad travail.
Ecclesiastes 5:15
As he came out from the belly of his mother, naked he turneth back to go as he came, and he taketh not away anything of his labour, that doth go in his hand.
Ecclesiastes 6:11
For there are many things multiplying vanity; what advantage is to man?

General references

Ecclesiastes 1:2
Vanity of vanities, said the Preacher, Vanity of vanities: the whole is vanity.