Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) once mentioned the following:

It is extremely important for a person to regard himself unworthy at all times for the favours Allah Ta‘ala blesses him with. At no time should one feel within his heart that he is eligible for the favours of Allah Ta‘ala (on account of the good that he is doing). Nevertheless, together with having the conviction of not being worthy of any good, it is necessary for one to continue expressing gratitude to Allah Ta‘ala for His favours so that one does not fall into the sin of being ungrateful.

(Qutbul Aqtaab Hazrat Shaikhul Hadith Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) pg. 499)

Source: Ihyaauddeen.co.za