It's partly because the sword is regarded as a high status weapon for historical reasons. Swords contained more metal, were more expensive to make and thus only the wealthy could afford them.
While the spear may have been the most popular offensive armament of the Middle Ages, the sword was certainly the most celebrated. Swords were intricately made, expensive to own, and generally passed down from generation to generation. They were also frequently named, with King Arthur's "Excalibur" and Roland's "Durendal" being perhaps the most famous.
- Medieval Military Technology (1992) Kelly DeVries