Books on clay or papyrus were rare and expensive since they had to be manually copied by literate scribes. Only monarchs could accumulate thousands of books.
A visual chronology of Asimov's ~1500 scientific inventions and discoveries.