The Purpose of Suffering
Eccl 9:1-18

1 For I considered all this in my heart, so that I could declare it all: that the righteous and the wise and their works are in the hand of God. People know neither love nor hatred by anything they see before them.
2 All things come alike to all: one event happens to the righteous and the wicked; to the good, the clean, and the unclean; to him who sacrifices and him who does not sacrifice. As is the good, so is the sinner; he who takes an oath as he who fears an oath.
3 This is an evil in all that is done under the sun: that one thing happens to all. Truly the hearts of the sons of men are full of evil; madness is in their hearts while they live, and after that they go to the dead.
4 But for him who is joined to all the living there is hope, for a living dog is better than a dead lion.
5 For the living know that they will die; but the dead know nothing, and they have no more reward, for the memory of them is forgotten.
6 Also their love, their hatred, and their envy have now perished; Nevermore will they have a share in anything done under the sun.
7 Go, eat your bread with joy, and drink your wine with a merry heart; for God has already accepted your works.
8 Let your garments always be white, and let your head lack no oil.
9 Live joyfully with the wife whom you love all the days of your vain life which He has given you under the sun, all your days of vanity; for that is your portion in life, and in the labor which you perform under the sun.
10 Whatever your hand finds to do, do it with your might; for there is no work or device or knowledge or wisdom in the grave where you are going.
11 I returned and saw under the sun that-- the race is not to the swift, nor the battle to the strong, nor bread to the wise, nor riches to men of understanding, nor favor to men of skill; but time and chance happen to them all.
12 For man also does not know his time: like fish taken in a cruel net, like birds caught in a snare, so the sons of men are snared in an evil time, when it falls suddenly upon them.
13 This wisdom I have also seen under the sun, and it seemed great to me:
14 There was a little city with few men in it; and a great king came against it, besieged it, and built great snares around it.
15 Now there was found in it a poor wise man, and he by his wisdom delivered the city. Yet no one remembered that same poor man.
16 Then I said: "Wisdom is better than strength. Nevertheless the poor man's wisdom is despised, and his words are not heard.
17 Words of the wise, spoken quietly, should be heard rather than the shout of a ruler of fools.
18 Wisdom is better than weapons of war; but one sinner destroys much good."
(NKJ)

XXX Nothing pleases God that man can pocess. The only thing that pleases God is to see you suffer wrongfully and do it willingly.

[1Ti 1:5
5 Now the purpose of the commandment is love from a pure heart, [from] a good conscience, and [from] sincere faith,
[1Pe 2:18-23
18 Servants, [be] submissive to [your] masters with all fear, not only to the good and gentle, but also to the harsh.
19 For this [is] commendable, if because of conscience toward God one endures grief, suffering wrongfully.
20 For what credit [is it] if, when you are beaten for your faults, you take it patiently? But when you do good and suffer, if you take it patiently, this [is] commendable before God.
21 For to this you were called, because Christ also suffered for us, leaving us an example, that you should follow His steps:
22 "Who committed no sin, Nor was deceit found in His mouth";
23 who, when He was reviled, did not revile in return; when He suffered, He did not threaten, but committed [Himself] to Him who judges righteously;
2 Cor 1:6-13
6 Now if we are afflicted, it is for your consolation and salvation, which is effective for enduring the same sufferings which we also suffer. Or if we are comforted, it is for your consolation and salvation.
7 And our hope for you is steadfast, because we know that as you are partakers of the sufferings, so also you will partake of the consolation.
8 For we do not want you to be ignorant, brethren, of our trouble which came to us in Asia: that we were burdened beyond measure, above strength, so that we despaired even of life.
9 Yes, we had the sentence of death in ourselves, that we should not trust in ourselves but in God who raises the dead,
10 who delivered us from so great a death, and does deliver us; in whom we trust that He will still deliver us,
11 you also helping together in prayer for us, that thanks may be given by many persons on our behalf for the gift granted to us through many.
12 For our boasting is this: the testimony of our conscience that we conducted ourselves in the world in simplicity and godly sincerity, not with fleshly wisdom but by the grace of God, and more abundantly toward you.
13 For we are not writing any other things to you than what you read or understand. Now I trust you will understand, even to the end
[Phl 3:14-19
14 I press toward the goal for the prize of the upward call of God in Christ Jesus.
15 Therefore let us, as many as are mature, have this mind; and if in anything you think otherwise, God will reveal even this to you.
16 Nevertheless, to [the degree] that we have already attained, let us walk by the same rule, let us be of the same mind.
17 Brethren, join in following my example, and note those who so walk, as you have us for a pattern.
18 For many walk, of whom I have told you often, and now tell you even weeping, [that they are] the enemies of the cross of Christ:
19 whose end [is] destruction, whose god [is their] belly, and [whose] glory [is] in their shame--who set their mind on earthly things.