"Be joyful in hope, patient in affliction, faithful in prayer" Romans 12:12
God knows his plans and they will come to pass in his perfect timing.
"And this is my prayer: that your love may abound more and more in knowledge and depth of insight,10 so that you may be able to discern what is best and may be pure and blameless for the day of Christ" Philippians 1:9-10
Because of Paul's struggles in prison, his fellow brothers and sisters in Christ became strengthened and progressed God's kingdom with renewed strength.
"The Lord is not slow in keeping his promise, as some understand slowness. Instead he is patient with you, not wanting anyone to perish, but everyone to come to repentance" 2 Peter 3:9