We already looked at the story of Joseph. It is an illustration of Psalm 66:10-12:
“For you, God, tested us; you refined us like silver.
You brought us into prison and laid burdens on our backs.
You let people ride over our heads; we went through fire and water, but you brought us to a place of abundance.”
Here the psalmist recognizes God at work in his suffering. He also recognizes God’s purposes. In this case, God’s purposes were to test and refine the psalmist. The means was a variety of difficulties – imprisonment, hard labor, subjugation, and either literally or figuratively, fire and flood.
Again, there is a recognition of God’s complete authority and wisdom and goodness through tremendous pain and suffering. There is a trust in the Lord to bring His people through difficulties in the end and give them reward and comfort. For some that reward and comfort may well be delayed until eternity, but the Lord is trustworthy. We can trust Him to do what is right and what is best.