It is not necessary to believe in God to be a good person. In a way, the traditional notion of God is outdated. One can be spiritual but not religious. It is not necessary to go to church and give money— for many, nature can be a church. Some of the best people in history do not believe in God, while some of the worst deeds were done in His name.
Source, in full
Attributed to Pope Francis in a Facebook image circulated circa , this is debunked in "Mass Exodus" at Snopes.com (15 December 2014), which asserts there are no credible indications Francis ever made such a statement: "It's not clear where the quote originated, but there is no proof (nor is there precedent) for the claim Pope Francis voiced it."