Knowing the exact nature of everything, God permits each person to be tested according to his strength. As St. Paul puts it: 'God is to be trusted not to let you be tried beyond your strength, but with the trial He will provide a way out, so that you are able to bear it' (1 Cor. 10:13).
When tested by some trial you should try to find out not why or through whom it came, but only how to endure it gratefully, without distress or rancor.
But if you are fearful of becoming self-righteous from working for your own salvation, or afraid of being overcome by spiritual pride, examine yourself and observe that the person who is afraid of becoming self-righteous suffers from blindness. For he does not see how self-righteous he is.