Ibn Qayyim said:

If Allaah ta’aala intends good for the needy slave He trials him with something in order to bring him down and to lower his neck in humiliation and to decrease his importance to himself. However if Allaah intended for him (the slave) anything other than good He (Allaah) would have left him alone and his vanity and pride and this is the deception which necessitates his destruction.

al-Waabil as-Sayyib min Kalim at-Tayyib

Translated by Umm Yahya