Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) wrote the following to a certain person who was undergoing difficulties in his life:
It is natural for a person to feel affected when faced with difficult and unfavourable conditions. However, one should not become so overwhelmed by the situation (thereby becoming despondent of the mercy of Allah Ta‘ala and losing hope).
It should be understood that feeling affected by a situation does not mean that one is displeased with the decree of Allah Ta‘ala. You should keep the verse of the Qur’aan Majeed before you in which Allah Ta‘ala says, “And We will certainly test you with some fear, hunger….” and thereafter place your entire reliance on Allah Ta‘ala and explain to yourself that every condition is from Allah Ta‘ala and is filled with abundant blessings for me.
I make dua for you from the bottom of my heart and beseech Allah Ta‘ala to bless you with progress.
I do not have any goodness in my life. It is solely through the love of my seniors and the good opinion which my friends have regarding me that I continue to live in the world.
(Qutbul Aqtaab Hazrat Sheikhul Hadith Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) pg. 406)