The word “legend” originally meant “things to be read”. In the pre-Medieval period, reading and writing were very rare, and so anything worthy of being written down was something very noteworthy, and thus “legendary”$$ worthy of being written down and read.