When monastic libraries were destoryed , what was lost ?
They were each endowed by Islamic sects with the purpose of representing their tenets as well as promoting the dissemination of secular knowledge .