Who hasn't heard of Excalibur? Who's heard of any famous spear?
While long ago it's been addressed that other weapons were used more often than swords, to me what doesn't make sense is all the legendary swords from the middle ages and the Viking sagas.
Why would people assign names and legendary value to weapons that were a back up?
Who hasn't heard of Excalibur? Who's heard of any famous spear?
While famous swords are usually more famous than famous spears, there are some famous spears, both from myth and real-life. Accompanying Excalibur, Arthur is also credited with a spear called Rhongomyniad. Cúchulainn wielded the Gáe Bulg, multiple Irish heroes the Lúin Celtchair, and other famous Irish spears include the Gáe Buide and Gáe Derg. Odin's weapon was his spear Gungnir.
From Japan and real-life as opposed to myth, we have the "Three Great Spears of Japan", including the well-known Tonbokiri (dragonfly-cutter). From Japanese myth, we have Amenonuhoko, used to create the islands of Japan.
There are also famous un-named spears, like Gunnar's spear (if the "atgeir" is a spear - at least, it is some kind of hafted weapon) in Njal's Saga.
While long ago it's been addressed that other weapons were used more often than swords, to me what doesn't make sense is all the legendary swords from the middle ages and the Viking sagas.
Swords were personal, and could be worn in places where spears would not be taken. Swords were sometimes valued gifts, symbols of rank and wealth. Real-life swords were sometimes given names. Swords often had long lives, being passed down from wielder to wielder.
Spears and bows often dominated battles. Bows were used they needed to be replaced, and spears were used until they broke. Spears were sometimes thrown at the enemy. A knight's lance was often his most important weapon - but with a much shorter service life than his sword.
Note that the famous swords of myth, legend, and history are mostly from the early Medieval period, when swords were less common - expensive, and owned by the rich elite. Spears were the hand-to-hand weapons that dominated battlefields, and were unexceptional, owned even by common folk. The spear was the workmanlike tool of the military worker. Swords were special, and were often owned by special folk. I think given the special status of swords as expensive and precious weapons explains the many named swords in legend and history, and the many swords attributed to famous warriors and kings.