Suppose that a loving father in some high room, throws down a bag of gold to his child, and it falls on the child's head causing injury. While the child is feeling the pain, he is impatient and troubled; while he looks only at the leather bag he is not thankful; but when he looks into the bag, and sees what a great deal of gold his father has given him, then he speaks well of his father, notwithstanding the injury to his head. Affliction is a bag of gold given to the people of God; though it seems from outside like a bad leather bag, yet there is gold within it. As long as we simply stare at the bag, or focus only on the suffering, we are not thankful, we do not praise the Lord, but are much discouraged; but if we would look into the bag, and count our gold, then we would have comfort, and not be discouraged. I tell you from the Lord, there is gold within; look in this bag, the bag of affliction; count over all the gold which the Lord has given you in this affliction, and then you will be quiet.
(Source: A Lifting Up for the Downcast)