He is saying that they have been in their spiritual prison for a mighty long time. There is a promise on the other side of their hardship and there is a purpose on the other side of their pain. His perfect plans are much greater than they can think or even imagine. Because our God is in the process of letting all of the saints out.