Ecclesiastes 7:14

In the day of prosperity be happy,
But in the day of adversity consider—
God has made the one as well as the other
So that man will not discover anything that will be after him.

Ecclesiastes 3:22

I have seen that nothing is better than that man should be happy in his activities, for that is his lot. For who will bring him to see what will occur after him?

Deuteronomy 28:47

Because you did not serve the Lord your God with joy and a glad heart, for the abundance of all things;

Ecclesiastes 3:4

A time to weep and a time to laugh;
A time to mourn and a time to dance.

Deuteronomy 8:3

He humbled you and let you be hungry, and fed you with manna which you did not know, nor did your fathers know, that He might make you understand that man does not live by bread alone, but man lives by everything that proceeds out of the mouth of the Lord.

1 Kings 8:47

if they take thought in the land where they have been taken captive, and repent and make supplication to You in the land of those who have taken them captive, saying, ‘We have sinned and have committed iniquity, we have acted wickedly’;

1 Kings 17:17-18

Now it came about after these things that the son of the woman, the mistress of the house, became sick; and his sickness was so severe that there was no breath left in him.

2 Chronicles 33:12-13

When he was in distress, he entreated the Lord his God and humbled himself greatly before the God of his fathers.

Job 10:1-2

I loathe my own life;
I will give full vent to my complaint;
I will speak in the bitterness of my soul.

Psalm 30:11-12

You have turned for me my mourning into dancing;
You have loosed my sackcloth and girded me with gladness,

Psalm 40:3

He put a new song in my mouth, a song of praise to our God;
Many will see and fear
And will trust in the Lord.

Psalm 94:12-13

Blessed is the man whom You chasten, O Lord,
And whom You teach out of Your law;

Psalm 119:71

It is good for me that I was afflicted,
That I may learn Your statutes.

Ecclesiastes 12:8

Vanity of vanities,” says the Preacher, “all is vanity!”

Ecclesiastes 12:13

The conclusion, when all has been heard, is: fear God and keep His commandments, because this applies to every person.

Isaiah 22:12-14

Therefore in that day the Lord God of hosts called you to weeping, to wailing,
To shaving the head and to wearing sackcloth.

Isaiah 26:11

O Lord, Your hand is lifted up yet they do not see it.
They see Your zeal for the people and are put to shame;
Indeed, fire will devour Your enemies.

Isaiah 42:25

So He poured out on him the heat of His anger
And the fierceness of battle;
And it set him aflame all around,
Yet he did not recognize it;
And it burned him, but he paid no attention.

Jeremiah 23:20

“The anger of the Lord will not turn back
Until He has performed and carried out the purposes of His heart;
In the last days you will clearly understand it.

Hosea 2:6-7

“Therefore, behold, I will hedge up her way with thorns,
And I will build a wall against her so that she cannot find her paths.

Micah 6:9

The voice of the Lord will call to the city—
And it is sound wisdom to fear Your name:
“Hear, O tribe. Who has appointed its time?

Haggai 1:5-7

Now therefore, thus says the Lord of hosts, “Consider your ways!

Matthew 9:13

But go and learn what this means: ‘I desire compassion, and not sacrifice,’ for I did not come to call the righteous, but sinners.”

Luke 15:17-18

But when he came to his senses, he said, ‘How many of my father’s hired men have more than enough bread, but I am dying here with hunger!

John 16:22-23

Therefore you too have grief now; but I will see you again, and your heart will rejoice, and no one will take your joy away from you.

Acts 14:22

strengthening the souls of the disciples, encouraging them to continue in the faith, and saying, “Through many tribulations we must enter the kingdom of God.”

James 5:13

Is anyone among you suffering? Then he must pray. Is anyone cheerful? He is to sing praises.

Treasury of Scripture Knowledge

Summary

In the day of prosperity be joyful, but in the day of adversity consider: God also hath set the one over against the other, to the end that man should find nothing after him.

Bible References

The day

Ecclesiastes 3:4
A time to weep and a time to laugh;
A time to mourn and a time to dance.
Deuteronomy 28:47
Because you did not serve the Lord your God with joy and a glad heart, for the abundance of all things;
Psalm 30:11
You have turned for me my mourning into dancing;
You have loosed my sackcloth and girded me with gladness,
Psalm 40:3
He put a new song in my mouth, a song of praise to our God;
Many will see and fear
And will trust in the Lord.
Matthew 9:13
But go and learn what this means: ‘I desire compassion, and not sacrifice,’ for I did not come to call the righteous, but sinners.”
John 16:22
Therefore you too have grief now; but I will see you again, and your heart will rejoice, and no one will take your joy away from you.
James 5:13
Is anyone among you suffering? Then he must pray. Is anyone cheerful? He is to sing praises.

But

Deuteronomy 8:3
He humbled you and let you be hungry, and fed you with manna which you did not know, nor did your fathers know, that He might make you understand that man does not live by bread alone, but man lives by everything that proceeds out of the mouth of the Lord.
1 Kings 8:47
if they take thought in the land where they have been taken captive, and repent and make supplication to You in the land of those who have taken them captive, saying, ‘We have sinned and have committed iniquity, we have acted wickedly’;
1 Kings 17:17
Now it came about after these things that the son of the woman, the mistress of the house, became sick; and his sickness was so severe that there was no breath left in him.
2 Chronicles 33:12
When he was in distress, he entreated the Lord his God and humbled himself greatly before the God of his fathers.
Job 10:1
I loathe my own life;
I will give full vent to my complaint;
I will speak in the bitterness of my soul.
Psalm 94:12
Blessed is the man whom You chasten, O Lord,
And whom You teach out of Your law;
Psalm 119:71
It is good for me that I was afflicted,
That I may learn Your statutes.
Isaiah 22:12
Therefore in that day the Lord God of hosts called you to weeping, to wailing,
To shaving the head and to wearing sackcloth.
Isaiah 26:11
O Lord, Your hand is lifted up yet they do not see it.
They see Your zeal for the people and are put to shame;
Indeed, fire will devour Your enemies.
Isaiah 42:25
So He poured out on him the heat of His anger
And the fierceness of battle;
And it set him aflame all around,
Yet he did not recognize it;
And it burned him, but he paid no attention.
Jeremiah 23:20
“The anger of the Lord will not turn back
Until He has performed and carried out the purposes of His heart;
In the last days you will clearly understand it.
Micah 6:9
The voice of the Lord will call to the city—
And it is sound wisdom to fear Your name:
“Hear, O tribe. Who has appointed its time?
Haggai 1:5
Now therefore, thus says the Lord of hosts, “Consider your ways!
Luke 15:17
But when he came to his senses, he said, ‘How many of my father’s hired men have more than enough bread, but I am dying here with hunger!
Acts 14:22
strengthening the souls of the disciples, encouraging them to continue in the faith, and saying, “Through many tribulations we must enter the kingdom of God.”