The righteous actions that we carry out during our lives are only through the grace of Allah Ta‘ala. Allah Ta‘ala creates the motivation within our hearts to remember him and carry out those righteous actions. Hence, at no time should we ever feel that it is through our efforts that these righteous actions are being accomplished. Rather, we should, at all times, attribute the good to Allah Ta‘ala and express gratitude to him.
(Malfoozaat Hakeemul Ummat 23/62)