Arthur Schopenhauer said this quote

[A]t bottom it is the same with traveling as with reading. How often do we complain that we cannot remember one thousandth part of what we read! In both cases, however, we may console ourselves with the reflection that the things we see and read make an impression on the mind before they are forgotten, and so contribute to its formation and nurtureā€¦