Good points Jerry.
It is a nebulous topic.
Many facets to the whole picture.
I used to go to church occasionally. The usual - xmas, Easter, weddings, funerals. Clearly simply a learned cultural habit. But in spite of the shallow spiritual depth of my motivation, sometimes I have been emotionally moved by a religious service.
I wanted to believe. But eventually, after many deep discussions with a very open and honest c of e minister, I concluded a god would not hide from its creation. Nor leave ambiguous signs. I had to admit that until there is more real evidence I cannot be a believer.
That was due, I think, to my psychological make-up rather than learned culture.
The next person will probably answer differently, as is their right.