With the emergence of Italian capitalism, the bourgeoisie demanded to enjoy secular life and needed to break the shackles of European feudal theology, which led to the emergence of the Renaissance and liberated people's minds to some extent. The fragmented political situation in Germany has hindered the economic development of Germany. The oppression of the church made Germany a "bull of the Pope", which led to the religious reform movement aimed at overthrowing the Pope and the oppression of opportunities, created "Protestantism" and liberated people from the ideological control of the Catholic Church.
With the further development of capitalist economy, the Enlightenment movement, an ideological liberation movement against feudal autocratic rule, appeared in France.
These are good proofs that the economic foundation or material determines the superstructure or consciousness.
On the other hand, the Renaissance, the Reformation and the Enlightenment further emancipated people's minds and brought more favorable conditions for the development of capitalist economy, thus promoting the progress of thought, culture and science and technology and leading to the emergence of the industrial revolution.
Therefore, we can say that "while material activities determine the development of spirit and system as basic things, the latter also restricts material activities by influencing the purpose and tendency of material activities, so that the mode of material production is subject to the guidance of spirit (or cultural concept).
I found it somewhere else.