But wherefore does Almighty God load us with so many crosses, and take pleasure in seeing us afflicted, reviled, persecuted, and ill-treated by the world ? Is he, perchance, a tyrant, whose cruel disposition makes him rejoice in our suffering? No: God is by no means a tyrant, nor cruel; he is all compassion and love towards us; suffice it to say, that he has died for us. He indeed does rejoice at our suffering, but for our good; inasmuch as, by suffering here, we are released hereafter from the debt of torments justly due from us to his divine justice; he rejoices in them, because they detach us from the sensual pleasures of this world: when a mother would wean her child, she puts gall on the breast, in order to create a disgust in the child; he rejoices in them, because we give him, by our patience and resignation in bearing them, a token of our love ; in fine, he rejoices in them, because they contribute to our increase of glory in heaven. Such are the reasons for which the Almighty, in his compassion and love towards us, is pleased at our suffering.
--St. Alphonsus Liguori, The Holy Eucharist