Spanish Proverb: A Dios rogando y con el mazo dando.
Translation: To God begging and with the mallet giving.
The interpretation of this Spanish proverb according to the Real Academia de la Lengua is: 'pray to God but also do your part'.
Some Spanish proverb web sites suggest that an equivalent English proverb would be ‘God helps those who help themselves’.
Try telling that to the shopkeepers whose premises were looted in the