This came to mind when reading your post.
Philippians 4
12I know what it is to be in need, and I know what it is to have plenty. I have learned the secret of being content in any and every situation, whether well fed or hungry, whether living in plenty or in want. 13 I can do everything through him who gives me strength.
The trials can be so hard for such a long time. I always wondered how Paul was able to be content in every situation. Then I saw that he learned to be content in all things thorugh hardships.
2 Corinthians 11
I have worked much harder, been in prison more frequently, been flogged more severely, and been exposed to death again and again. 24Five times I received from the Jews the forty lashes minus one. 25Three times I was beaten with rods, once I was stoned, three times I was shipwrecked, I spent a night and a day in the open sea, 26I have been constantly on the move. I have been in danger from rivers, in danger from bandits, in danger from my own countrymen, in danger from Gentiles; in danger in the city, in danger in the country, in danger at sea; and in danger from false brothers. 27I have labored and toiled and have often gone without sleep; I have known hunger and thirst and have often gone without food; I have been cold and naked. 28Besides everything else, I face daily the pressure of my concern for all the churches. 29Who is weak, and I do not feel weak? Who is led into sin, and I do not inwardly burn?
30If I must boast, I will boast of the things that show my weakness.
2 Corinthians 12
9But he said to me, "My grace is sufficient for you, for my power is made perfect in weakness." Therefore I will boast all the more gladly about my weaknesses, so that Christ's power may rest on me. 10That is why, for Christ's sake, I delight in weaknesses, in insults, in hardships, in persecutions, in difficulties. For when I am weak, then I am strong.