That al-Ghazil had issues with certain aspects of Aristotlian and Neoplationist philosophy is well known, that this in any way contributed significantly to ending the golden age should not be taken on faith alone because it seems to fit a narrative.
Another scholarly views on the issue:
http://islamsci.mcgill.ca/Viewpoint_ragep.pdf
(As an aside, the rejection of Aristotelian science was an important step towards the creation of modern science.)
If you say they burned down the Library of Alexandria too you can get a full house of classical myths
Historical understanding of this issue has been updated somewhat since Gibbon wrote about it in the 18th C:
Easier to treat than the case of Tertullian v. Augustine is the case of Hypatia (355–415) v. Cyril, Christian bishop of Alexandria (d. AD 444). This tale, which easily surpasses that of Tertullian for drama, accuses Cyril of engineering the murder of the brilliant mathematician and philosopher, Hypatia. The story has many different tellings, but the gist of it is that a mob of Christians, acting on instructions from Cyril (the future St Cyril), brutally murdered the charming Hypatia, whose only crime was her pursuit of classical learning. As told by Edward Gibbon, ‘On a fatal day, in the holy season of Lent, Hypatia was torn from her chariot, stripped naked, dragged to the church, and inhumanly butchered by the hands of . . . a troop of savage and merciless fanatics,’ thereby vividly demonstrating the depth of animosity in the Christian community towards classical learning. Unfortunately for the tale and its defenders, the only recent, reliable piece of serious scholarship on Hypatia concludes that her killing was ‘a political murder, provoked by long-standing conflicts in Alexandria’ and had nothing to do with either pagan philosophy or Christian belief.19
from: The Cambridge companion to science and religion
Or historian of science David C Lindberg:
The story of Hypatia’s murder is one of the most gripping in the entire history of science and religion. However, the traditional interpretation of it is pure mythology. As the Czech historian Maria Dzielska documents in a recent biography, Hypatia got caught up in a political struggle between Cyril, an ambitious and ruthless churchman eager to extend his authority, and Hypatia’s friend Orestes, the imperial prefect who represented the Roman Empire. In spite of the fact that Orestes was a Christian, Cyril used his friendship with the pagan Hypatia against him and accused her of practicing magic and witchcraft. Although killed largely in the gruesome manner described above—as a mature woman of about sixty years—her death had everything to do with local politics and virtually nothing to do with science. Cyril’s crusade against pagans came later. Alexandrian science and mathematics prospered for decades to come.2
And people with careers in the church were among the most prominent in making scientific discoveries.
How does this chime with the church 'repressing' science? They couldn't even stop their own 'employees' from being abnormally productive, translating large numbers of Greek/Arabic texts with church funds, etc.
But still in the 'dark ages'...
And the medieval university didn't appear anywhere else in the world before that, and when they did appear it was with the help of the church. And they forced people to study natural philosophy, logic, etc.
This isn't really repressing science and keeping people away from forbidden Greek knowledge is it?
I saw a great movie growing up called
The Name of the Rose, starring Sean Connery, which was a "to the screen" portrayal of a book written by Umberto Eco.
In the movie, two monks, Franciscan friar William of Baskerville and Adso of Melk, arrive at a Benedictine monastery in Northern Italy to attend a theological disputation. Upon arrival, the monastery is disturbed by a suicide. As the story unfolds, several other monks die under mysterious circumstances.
William is tasked by the monastery's abbot to investigate the deaths, and fresh clues with each murder victim lead William to dead ends and new clues. The protagonists explore a labyrinthine medieval library, discuss the subversive power of laughter, and come face to face with the Inquisition, a path that William had previously forsworn. William's innate curiosity and highly developed powers of logic and deduction provide the keys to unraveling the abbey's mysteries.
So the deaths of these people was ultimately found to be at the hands of one of the other monks in the Abbey who killed these people by poisoning them because they were dabbling in literature that the killer deemed detrimental to the faith of people.
Anyway, the point is, yes, the Church collected books and kept them in monasteries, but at first they did so only because they considered some books to be heretical and, like with al-Ghazali's injunction for Muslims to be wary of advanced maths, they didn't want people to be educated in topics that could lead them away from Christianity.
The educating that went on in these monasteries, for the clergy, wasn't advanced theoretical studies of science... It was just the basics of mathematics and other hard sciences, basic rote memory stuff, basically just what the church wanted them to know, and then it was on to the religious teachings, etc
Yes, the church wanted priests and pastors with well rounded educations, but only to use as a cudgel against the laity.
Look at it like this. As I said, the church educated men only, to be church and community leaders. The laity didn't have access to these educations, so the idea is that when the laity come to the clergy with questions, the advanced educations the church leaders had, relative to the ignorant laity, would make it easy to keep the simpletons in the laity in line.
To wit, when I was an ignorant youth sitting in a class and asking questions, usually the teacher would, in their reply, wow me with the depth of their knowledge and I would then tentatively accept what they said as true with the idea of doing more research.
If an ignorant person in the Middle "Dark" Ages were to go to an educated church leader and ask questions about their faith, I'm sure the depth of knowledge the church leader had in the sciences, in history, religion, et al would put them back in line and assuage any doubts they might have about their religion, or whatever other topic was at hand...
RE Hypatia and how she died... Yes, she died because of local politics, but it was Cyril and his cohorts who poisoned the populace with claims that she was a witch who had beguiled the Christian, Orestes, and kept him from reconciling with Cyril...
But its not that she was killed that's important, it's that her school of science died as a result of it. Yes, I'm sure it continued for a while after her passing, but because early Christianity was more focused on faith instead of reason, her loss and her school's decline as a result of that, helped and contributed to bringing about the Middle "Dark" Ages.
And people with careers in the church were among the most prominent in making scientific discoveries.
How does this chime with the church 'repressing' science? They couldn't even stop their own 'employees' from being abnormally productive, translating large numbers of Greek/Arabic texts with church funds, etc.
Well, duh! If only men are allowed into these schools to get a good education, and those men go on to be church leaders, leaving the rest of the populace (other men, women, kids) ignorant of a good education, it stands to reason that people with careers in the church would be the only people making real discoveries.
The church repressed sciences that might lead people to a lack of faith.
"You want to figure out how god created life? We know how he created it, with a word. Go study something else"
"You want to figure out how man came to exist? We know how he came to exist, with a word. Go study something else"
etc...
The church repressed people, other than those they let into their club, from getting a good education.