I believe Doug Roberts is partially correct but must take into account that much of the wisdom of the ancients was actually preserved by the Roman Catholic Church through the Dark Ages.
Mistakes were made but on the whole much of the education and preservation of books and documents was preserved.