According to Marx, believes that problems in religion are ultimately problems in society. Religion is not the sickness , but a symptom. He believed that It is used by oppressors to make people feel better about the distress they experience due to being poor and exploited.
While Max Weber study says that religion is based on cultural needs of man and has added new dimensions to human life and human development. Weber suggested that the protestant institution and its ethics have played an important role in the development of their economy.
Communists did not want the people to be able to gain more money than they allowed and the nobles wanted to make sure nobody moved up in their caste system