Difficulties can only be "Learning"

LINK
We can experience the greatest joy in the midst of difficulties and trials because God is with us in whom we find security, and He is greater than any problem or difficulty.
I want you to know, brothers, that the things that have happened to me have actually resulted in the advancement of the gospel, 13 so that my imprisonment has become evident in Christ throughout the entire Praetorium and to all the rest. 14 And most of the brothers, being encouraged in the Lord by my imprisonment, are much more bold to speak the word without fear.
15 Some indeed preach Christ from envy and strife, but others from good will. 16 Some preach Christ from strife, not sincerely, thinking to add affliction to my imprisonment; 17 but others from love, knowing that I am appointed for the defense of the gospel. 18 What then? Nevertheless, in every way, whether in pretense or in truth, Christ is preached; and in this I rejoice, and will rejoice still.
Philippians 1:12-18
Let's remember for a moment that the apostle Paul was under arrest but could still receive some visitors. Paul was not allowed to leave or travel, and he was likely chained all the time, in addition to being guarded by a Roman soldier. The apostle Paul was very clear that this would be his future; this would be his condition for the rest of his life.
Perhaps in these circumstances, the apostle could have used influence or exhausted all resources to be released. Let's remember that God had called him to spread the word and make disciples in order to reach the Gentile world. Yet, at that moment, he was trapped in Rome, completely unable to visit other believers, much less plant new churches. There's no doubt the apostle himself could have complained to God, having experienced worse situations like persecution, shipwreck, beatings, and much more for the sake of the Gospel.
8 Finally, brothers, whatever is true, whatever is honorable, whatever is just, whatever is pure, whatever is lovely, whatever is commendable, if there is any excellence, if there is anything worthy of praise, think about these things.
Philippians 4:8