A very good friend of mine is deeply religious.
Neither his religion, nor my atheism came in between our friendship.
Another close friend and relative is deeply spiritual.
Despite my materialistic worldview, we understand each other better than most others do.
Ironical though it may sound, often, the space we give each other to be different from us, brings us closer.
It isn’t affinity of ideology, but the freedom to be ourselves, that often leads to intimate friendships.