We must unite ourselves to God's will. Even those that we suffer from man...for example, contempt, injustice, loss of reputation, loss of temporal goods and all kinds of persecutions. On these occasions we must remember that whilst God doesn't will the sin, He does will our humiliation, our poverty, or our mortification, as the case may be. It is certain and of Faith, that whatever happens, happens by the will of God. Our conduct in such instances is the true measure of our love for God.
-- St. Alphonsus Liguori