"All things work together for good."
This must be so for three reasons. First, because all things are under the absolute control of the Governor of the universe. Second, because God desires our good, and nothing but our good. Third, because even Satan himself cannot touch a hair of our heads without God's permission, and then only for our further good. Not all things are good in themselves, nor in their tendencies; but God makes all things work for our good. Nothing enters our life by blind chance; nor are there any accidents. Everything is being moved by God, with this end in view—our good. Everything being subservient to God's eternal purpose, works blessing to those marked out for conformity to the image of Christ. All suffering, sorrow, loss, are used by our Father to minister to the benefit of the elect.
From “Comfort for Christians: The Christian’s Assurance”