Richard Matheson said this quote

He stood there for a moment looking around the silent room, shaking his head slowly. All these books, he thought, the residue of a planet's intellect, the scrapings of futile minds, the leftovers, the potpourri of artifacts that had no power to save men from perishing.