In reality, the Taliban acted out of ignorance and wanted to keep a generation of Afghans illiterate and malleable, religious scholars and education officials say.
The campaign also raised about 100,000 AFN ($1,320) for the library to purchase additional books.
Besides denying girls access to schools, the Taliban hire their own teachers, monitor school attendance and provide their own curriculum.
Idrees Syawash, with a small library mounted to the back of his bicycle, plans to ride to every province to spread a message of literacy and education.
More girls are enrolling in schools due largely because of the investments made by the Afghan government and its partners in the education sector.
Young women in Herat face serious restrictions to their access to internet cafes to work on school projects. The Bibi Sarai centre aims to address this issue and other technology issues facing women.
Tribal elders are trying to persuade the Taliban to stop hindering children from attending school, officials say.
The library bus stops at schools, parks and orphanages, serving as many as 300 children daily.
An operation is underway to clear areas under Taliban control to allow the province's 11,000 affected students to return to class, local officials say.
Tribal elders and religious scholars negotiated with the Taliban, which had forced some schools to close for years.
A photo of Jahantaab Ahmadi, taken as she cradled her baby amid an university entrance exam, has gone viral.
Educational opportunities in Pakistan for Afghan students are a sign of strong ties between the two nations, officials say.