What is done out of charity is done for God (XII:391).