Pope Francis, in his weekly homily, referenced Mark 9:40 where Jesus says: "Anyone who is not against us is for us." He went on to say this about how believers should view the good works of nonbelievers:
“If we, each doing our own part, if we do good to others, if we meet there,I like this perspective. Many folks I know either do not believe in God or are on the fence regarding faith. Yet many of these do good things and help those who suffer. By all means we should be grateful for their good works.
doing good, and we go slowly, gently, little by little, we will make that culture of encounter: we need that so much. We must meet one another doing good. ‘But I don’t believe, Father, I am an atheist!’ But do good: we will meet one another there.”