Swords in fantasy are as old as time itself. From Gilgamesh and Enkidu slaying the demi-god Humbaba and the Bull of Heaven (spoiler: doesn’t end great for Enkidu as it turns out) to Susanno, a kami (a spirit possessing holy powers) who slays Yamata no Orochi, an 8-headed serpent (hiding a few swords within its coils) to Beowulf, swords have been there from the beginning. While some of those swords were named, in the Arthurian mythos we begin to see swords choosing their owners, and in that choice, granting “Chosen One” status upon them.
Tolkien really ate that up in his own works, with Narsil not content to be just the Sauron-killer, but waiting for Isildur’s heir to reforge it (bigger and brighter) as Anduril so Aragorn could be recognized as the King of Gondor. Tolkien, being the sometime (but not the ALL) father of fantasy, heralded in a golden era of magic swords. They often function as the blazing “Chosen One” symbol, from Gonturan choosing Harry in The Blue Sword to By the Sword by Mercedes Lackey and beyond.
The Wheel of Time has its own Chosen One (several, in fact) plucked from another fantasy favorite: prophecy. But swords serve a different function in the world Robert Jordan created: they are the Great Leveler. They don’t choose their owner (despite what Callandor would have you believe, that was about a sa’angreal not a sword), they don’t convey special powers, and they don’t make someone a badass the instant they touch the hilt of one of Jordan’s characteristic, long-hilted, single-edged, katana-like blades.