It is often the God will take situations that we may have never saw as good, and turn them around. He often does this in His time, and not ours. Joseph was in a prison cell for years, yet one day, God turned his situation around and used it for the good.
I wonder if he was tempted to escape and go back to his father’s house or a different country. Yet he was in a place where he couldn’t go anywhere. When the time was right, he was brought out, and a great destiny was fulfilled. When things don’t make sense, it is good to trust in God’s goodness, and keep being faithful where you are every day! -Timothy Steward