Why did the church lose its authority at the end of the Middle Ages?

Firstly, because of hypocrisy, the inappropriateness of one’s own way of life to what they themselves teach, acquisitiveness, careerism within the church organization, neglect of the needs of their parishioners, especially the poor.

Secondly, competing with the secular power, the church inevitably pushed the latter to support anti-church forces, in particular, supporters of the reformation. As a result, they were able to more easily advocate and spread their ideas.

One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.