Thousands of years ago before books were printed in any quantity, people would memorize an entire book so that they could share it with others.
what books were printed thousands of years ago??

there was no print thousands of years ago and paper was expensive, too expensive, so the books were mostly memorized, and few copies manually written, if any.