Religion is a consequence of class society and a region’s material conditions. Seeing anything entirely through the lens of religion is not very materialist.
This. I used to associate everything with religion after leaving islam, and realizing it’s merely a consequence of class society was a key trigger for becoming a socialist for me.
Ironically, by trying to see everything through the lens of religion during that time instead of thinking materially, I was still stuck in a religious mindset even after supposedly leaving it.