31 As often then as we are frustrated in spiritual works, so often let us again take them in hand; and let us not say, “for what reason did God permit these impediments?” for He permitted them to this end, that He might show your alacrity much more to others, and your great love; this being the special mark of one that loves, never to desist from those things which are approved by him whom he loves. The man, indeed, who is flaccid and listless, will fall back from the first shock; but he who is energetic and alert, although he be hindered a thousand times, will devote himself so much the more to the things of God; fulfilling all as far as he is able; and in everything giving thanks.
This then let us do! Thanksgiving is a great treasure; large wealth; a good that cannot be taken away; a powerful weapon! Even as blasphemy increases our present mishap; and makes us lose much more beside than we have lost already. Have you lost money? If you have been thankful, you have gained your soul; and obtained greater wealth; having acquired a greater measure of the favour of God. But if you blaspheme, you have, besides this, lost your own safety; and hast not regained possession of your wealth; yea and your soul, which you had, you have sacrificed!
Source: Homilies on the Statues (New Advent)