God has made the attainment of our happiness, his glory. Since he is by his nature infinite goodness, and since as St. Leo says goodness is diffusive of itself, God has a supreme desire to make us sharers of his goods and of his happiness. If then he sends us suffering in this life, it is for our own good: "All things work together unto good." Even chastisements come to us, not to crush us, but to make us mend our ways and save our souls: "Let us believe that these scourges of the Lord have happened for our amendment and not for our destruction."
--St. Alphonsus Liguori, Uniformity with God’s Will