読書尚友(どくしょしょうゆう)

Japanese vocabulary

Meaning: by reading books you can count the wise philosophers of the past as friends

See it used in real works