Religion is the organization of spirituality into something that became the hand maiden of conquerors. Nearly all religions were brought to people and imposed on people by conquerors and used as the framework to control their minds.
What guides Marxism then is a different model of society and a different conception of the function of the knowledge that can be produced by society and acquired from it.