2 Corinthians 1:6

But if we are afflicted, it is for your comfort and salvation; or if we are comforted, it is for your comfort, which is effective in the patient enduring of the same sufferings which we also suffer;

2 Timothy 2:10

For this reason I endure all things for the sake of those who are chosen, so that they also may obtain the salvation which is in Christ Jesus and with it eternal glory.

Acts 21:5

When our days there were ended, we left and started on our journey, while they all, with wives and children, escorted us until we were out of the city. After kneeling down on the beach and praying, we said farewell to one another.

Romans 5:3-5

And not only this, but we also exult in our tribulations, knowing that tribulation brings about perseverance;

Romans 8:28

And we know that God causes all things to work together for good to those who love God, to those who are called according to His purpose.

1 Corinthians 3:21-23

So then let no one boast in men. For all things belong to you,

2 Corinthians 1:4

who comforts us in all our affliction so that we will be able to comfort those who are in any affliction with the comfort with which we ourselves are comforted by God.

2 Corinthians 4:15-18

For all things are for your sakes, so that the grace which is spreading to more and more people may cause the giving of thanks to abound to the glory of God.

2 Corinthians 5:5

Now He who prepared us for this very purpose is God, who gave to us the Spirit as a pledge.

2 Corinthians 12:15

I will most gladly spend and be expended for your souls. If I love you more, am I to be loved less?

Ephesians 3:13

Therefore I ask you not to lose heart at my tribulations on your behalf, for they are your glory.

Philippians 1:19

for I know that this will turn out for my deliverance through your prayers and the provision of the Spirit of Jesus Christ,

Hebrews 12:10-11

For they disciplined us for a short time as seemed best to them, but He disciplines us for our good, so that we may share His holiness.

Treasury of Scripture Knowledge

Summary

And whether we be afflicted, it is for your consolation and salvation, which is effectual in the enduring of the same sufferings which we also suffer: or whether we be comforted, it is for your consolation and salvation.

It is

General references

Bible References

Whether

2 Corinthians 1:4
who comforts us in all our affliction so that we will be able to comfort those who are in any affliction with the comfort with which we ourselves are comforted by God.
2 Corinthians 4:15
For all things are for your sakes, so that the grace which is spreading to more and more people may cause the giving of thanks to abound to the glory of God.
1 Corinthians 3:21
So then let no one boast in men. For all things belong to you,
2 Timothy 2:10
For this reason I endure all things for the sake of those who are chosen, so that they also may obtain the salvation which is in Christ Jesus and with it eternal glory.

It is

Acts 21:5
When our days there were ended, we left and started on our journey, while they all, with wives and children, escorted us until we were out of the city. After kneeling down on the beach and praying, we said farewell to one another.

Effectual

2 Corinthians 4:17
For momentary, light affliction is producing for us an eternal weight of glory far beyond all comparison,
2 Corinthians 5:5
Now He who prepared us for this very purpose is God, who gave to us the Spirit as a pledge.
Romans 5:3
And not only this, but we also exult in our tribulations, knowing that tribulation brings about perseverance;
Romans 8:28
And we know that God causes all things to work together for good to those who love God, to those who are called according to His purpose.
Philippians 1:19
for I know that this will turn out for my deliverance through your prayers and the provision of the Spirit of Jesus Christ,
Hebrews 12:10
For they disciplined us for a short time as seemed best to them, but He disciplines us for our good, so that we may share His holiness.

General references

Matthew 5:4
“Blessed are those who mourn, for they shall be comforted.