Ecclesiastes 7:14

In the day of prosperity, rejoice! But in the day of adversity, consider! For God made one in place of another so that mortals cannot find out what will happen {in the future}.

Ecclesiastes 3:22

So I concluded that there is nothing better for a person than to enjoy [the fruit of] his labor, for this is his lot in life. {For no one knows what will happen in the future.}

Deuteronomy 28:47

"{Because} [of the fact] that you did not serve Yahweh your God with joy and with gladness of heart for the abundance of everything,

Ecclesiastes 3:4

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

Deuteronomy 8:3

And he humbled you and let you go hungry, and [then] he fed you with that which you did not know nor did your ancestors know, in order to make you know that not by bread alone but by all [that] goes out of the mouth of Yahweh humankind shall live.

1 Kings 8:47

and then they return their heart in the land where they have been taken captive and they return and plead to you in the land of their captivity, saying, 'We have sinned and we did wrong. We acted wickedly,'

1 Kings 17:17-18

It happened after these things that the son of the woman, the mistress of the house, became ill; and his illness was very severe until there was no breath left in him.

2 Chronicles 33:12-13

And when he was in distress he entreated Yahweh his God and greatly humbled himself before the God of his ancestors

Job 10:1-2

"My inner self loathes my life; {I want to give vent to my complaint}; I want to speak out of [the] bitterness of my inner self.

Psalm 30:11-12

You have turned my wailing into my dancing. You have removed my sackcloth and clothed me [with] joy

Psalm 40:3

Then he put a new song in my mouth, a praise to our God. Many will see and fear, and will trust Yahweh.

Psalm 94:12-13

Blessed [is] the man, O Yah, whom you instruct and teach from your law,

Psalm 119:71

[It is] good for me that I was afflicted, so that I might learn your statutes.

Ecclesiastes 12:8

"Vanity of vanity!" says the Teacher. "Everything [is] vanity!"

Ecclesiastes 12:13

Now that all has been heard, here is the final conclusion: Fear God and obey his commandments, for this [is] the whole [duty] of man.

Isaiah 22:12-14

And the Lord, Yahweh of hosts, called on that day for weeping and mourning, and for baldness and girding {with} sackcloth.

Isaiah 26:11

Yahweh, [though] your hand reaches high, they do not see [it]. Let them see, and let them be ashamed of [the] zeal of people. Indeed, let the fire of your enemies consume them.

Isaiah 42:25

So he poured [the] wrath [of] his anger upon him and [the] strength of war. And it set him afire all around, but he did not understand; and it burned him, but he did not take [it] to heart.

Jeremiah 23:20

The {anger} of Yahweh will not turn back until his doing and until his keeping the plans of his {mind}. {In latter days} you will look closely at it [with] understanding.

Hosea 2:6-7

Therefore, Look! I [am] going to hedge her path {with thorns}, and I will build a stone wall, a stone wall [against] her, and she will not find her paths.

Micah 6:9

The voice of Yahweh calls to the city ([it is] sound judgment to fear your name): "Hear, staff! Now who has appointed it?

Haggai 1:5-7

And so then, thus says Yahweh of hosts: '{Consider your ways}!

Matthew 9:13

But go [and] learn what it means, "I want mercy and not sacrifice." For I did not come to call the righteous, but sinners."

Luke 15:17-18

"But [when he] came to himself, he said, 'How many of my father's hired workers have an abundance {of food}, and I am dying here from hunger!

John 16:22-23

So you also are experiencing sorrow now, but I will see you again, and your hearts will rejoice, and no one will take away your joy from you.

Acts 14:22

strengthening the souls of the disciples, encouraging [them] to continue in the faith and [saying], "Through many persecutions it is necessary [for] us to enter into the kingdom of God."

James 5:13

Is anyone among you suffering misfortune? He should pray. Is anyone cheerful? He should sing praise.

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} [of the fact] that you did not serve Yahweh your God with joy and with gladness of heart for the abundance of everything,
Psalm 30:11
You have turned my wailing into my dancing. You have removed my sackcloth and clothed me [with] joy
Psalm 40:3
Then he put a new song in my mouth, a praise to our God. Many will see and fear, and will trust Yahweh.
Matthew 9:13
But go [and] learn what it means, "I want mercy and not sacrifice." For I did not come to call the righteous, but sinners."
John 16:22
So you also are experiencing sorrow now, but I will see you again, and your hearts will rejoice, and no one will take away your joy from you.
James 5:13
Is anyone among you suffering misfortune? He should pray. Is anyone cheerful? He should sing praise.

But

Deuteronomy 8:3
And he humbled you and let you go hungry, and [then] he fed you with that which you did not know nor did your ancestors know, in order to make you know that not by bread alone but by all [that] goes out of the mouth of Yahweh humankind shall live.
1 Kings 8:47
and then they return their heart in the land where they have been taken captive and they return and plead to you in the land of their captivity, saying, 'We have sinned and we did wrong. We acted wickedly,'
1 Kings 17:17
It happened after these things that the son of the woman, the mistress of the house, became ill; and his illness was very severe until there was no breath left in him.
2 Chronicles 33:12
And when he was in distress he entreated Yahweh his God and greatly humbled himself before the God of his ancestors
Job 10:1
"My inner self loathes my life; {I want to give vent to my complaint}; I want to speak out of [the] bitterness of my inner self.
Psalm 94:12
Blessed [is] the man, O Yah, whom you instruct and teach from your law,
Psalm 119:71
[It is] good for me that I was afflicted, so that I might learn your statutes.
Isaiah 22:12
And the Lord, Yahweh of hosts, called on that day for weeping and mourning, and for baldness and girding {with} sackcloth.
Isaiah 26:11
Yahweh, [though] your hand reaches high, they do not see [it]. Let them see, and let them be ashamed of [the] zeal of people. Indeed, let the fire of your enemies consume them.
Isaiah 42:25
So he poured [the] wrath [of] his anger upon him and [the] strength of war. And it set him afire all around, but he did not understand; and it burned him, but he did not take [it] to heart.
Jeremiah 23:20
The {anger} of Yahweh will not turn back until his doing and until his keeping the plans of his {mind}. {In latter days} you will look closely at it [with] understanding.
Micah 6:9
The voice of Yahweh calls to the city ([it is] sound judgment to fear your name): "Hear, staff! Now who has appointed it?
Haggai 1:5
And so then, thus says Yahweh of hosts: '{Consider your ways}!
Luke 15:17
"But [when he] came to himself, he said, 'How many of my father's hired workers have an abundance {of food}, and I am dying here from hunger!
Acts 14:22
strengthening the souls of the disciples, encouraging [them] to continue in the faith and [saying], "Through many persecutions it is necessary [for] us to enter into the kingdom of God."