@Adverb,
You are talking about Marxism.
Marx thought that society's economic structure determines the way people think.
While Max Weber believed just the opposite: Peoples beliefs influenced the way they set up their economy.
For Marx, who called those aspects of society's economy (the relations of production, viz., the way in which people's lives are determined by the way they make distribute, and use material goods) the
infrastructure, and beliefs, including religion and the arts, the
superstructure, he believed that the infrastructure determined the superstructure.
Weber linked capitalism in Europe to Calvanistic predetermination and the Protestant Work Ethic, viz., careful not to waste money, save it, invest it, and that economic prosperity reassured people that they were favored by God. So, to Weber, capitalism grew out of this Christian philosophic base and this religious superstructure determined the infrastructure, the economics of capitalism.
Regardless that a lot of neoconservatives had been Shachtmanites, and have corruputed the name. I remain a Schactmanite, true to the socialist cause. For Max Shachtman, with all his hostility to the totalitarian left, he reserved a special contempt for former radicals who peddled their disillusionment on the open market. He once dismissed the memoirs of several ex-communists by saying that they were composed by a formula: "Once I was so stupid, now I am so smart."
In the Shachtmanite world, a certain degree of rigor is required: and confession minus analysis still equals bourgeois self-indulgence.