I have to laugh when secularists say that religion promotes ignorance. Maybe that could be often true in general-- you could include paganism and atheism as religions of ignorance. But Catholicism in its full strength offered education to the poor. Since there has been lack of religious brothers and nuns to keep Catholic eduction cheap and the liberalism in the Church has caused the standards to descend.
Here is an example of how Catholics were taught according to traditions of Catholic education. This is a renewal