Gratitude & joy drove them to do good works before the thought that they had to do them even crossed their mind.
or simply: