Yep, in Plato's Phaedrus. https://www.historyofinformation.com/detail.php?id=3439
Plato wrote the story, attributing it to Socrates. The story is about the egyptian inventor Theuth who showed his inventions of numbers, leters, etc. to the god Thamus (Ammon). The god liked the numbers, but for writing said:
> "For this invention will produce forgetfulness in the minds of those who learn to use it, because they will not practice their memory. Their trust in writing, produced by external characters which are no part of themselves, will discourage the use of their own memory within them. You have invented an elixir not of memory, but of reminding; and you offer your pupils the appearance of wisdom, not true wisdom, for they will read many things without instruction and will therefore seem [275b] to know many things, when they are for the most part ignorant and hard to get along with, since they are not wise, but only appear wise."