A little fire softens a large piece of wax. So, too, a small indignity often softens, sweetens and wipes away suddenly all the fierceness, insensibility and hardness of our heart.
The way of Godliness consists of these two things: True (pious) doctrines and good works. Without good works, true faith is not acceptable to God, likewise, good works are not acceptable to Him in the absence of True Faith (pious dogma).