This is true.
During the Medieval times, many universities had religious origins. For example, Oxford and Cambridge University were both institutions where professors were paid by the church. In this case, the teachers focused on teaching subjects that were important to the church, like Theology. This structured education also helped to shape what religion was focused on in these particular areas.