It relates to humanity through the higher levels of Maslow's Hierarchy of Needs. The human pursuit of religion does serve a function for some in our lives. For believers, there is a purpose or goal to being religious be it
the goal of salvation or enlightenment, comfort and guidance for living a moral life, or any of a number of other “higher” purposes in life.
Religion, whatever faith can encourage us to move beyond a life motivated by self-centeredness and pure animal instincts for mere survival and hence humanity at large be it for the benefit of society or at a personal level.
Having said that atheists too can demonstrate such characteristics at this higher level through their deeds and thoughts, again to move to this life beyond basic satisfaction and our animal instincts. So both groups can happily co-exist together, even if organs like AB lead to debate and sometimes untoward behaviour and dogma.
Alongside religion, one can place values such as creativity, morality, problem resolution spontaneity, a lack of prejudice and acceptance of fact. It is in this that atheists balance their hierarchy against their lack of a need for spiritual 'guidance' and all the rest that goes with religion.