Most of the kings of Europe at the end of the 11th century themselves tried to consolidate their power in the same way as Pope Gregory VII. The empire hindered this; the kings were not against the idea of Gregory VII, but only as long as the pope was a counterweight to the emperor. The kings did not want the complete victory of the Church over the Empire.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.