Where in fiction entailing magic—including written and oral forms predating the novel—did the concept of a magical sword first appear? Answers should clearly distinguish between any magic of the wielder and the magic of the sword itself.
The Christian bible (specifically Genesis, which is derived from an older work than the 'main' bible) includes a flaming sword: Genesis 3:24 (KJV) "So he drove out the man; and he placed at the east of the garden of Eden Cherubims, and a flaming sword which turned every way, to keep the way of the tree of life." Sounds fairly magical to me.
@Era -- A sword turning "every way" on its own seems pretty magical to me :) -- Hard to imagine a sword without a wielder that isn't anything but magical... Let alone a fire-brand!
While the sword in the Bible certainly qualifies as supernatural, not everyone considers the Bible to be fiction. It'd be at best indelicate to assume that a sincerely held worldview is patently false. It also wouldn't qualify as an answer, based on this site's policy.
@Matt -- From the OP Question -- "What is the first work of fantasy, myth, legend to feature a magic sword?" -- I think, irrespective of ones view of the biblical text, the story qualifies for either the myth or legend adjective. As a plain literal reading would require the sword to still be there (somewhere) for anyone to see. -- Also, the answers so far are all using religious stories. ;)
In that case, it may be appropriate to change or close the question. The other answers should also be closed, based on the policy outlines in the meta. Whether or not any given religion qualifies as "fantasy" is WAY outside the scope of this site. Questions about works that aren't fiction are ALSO outside the scope of this site.
@Matt -- Although the policy may be against calling a religion fiction, I should point out that this question's title includes Legend as a possibility, and Legends are not necessarily fictitious. That said, sadly, the question stipulates 'Where in fiction', so it may still be out. (And why I posted it as a comment to begin with instead of an answer.)
@Lexible That's fine. It needs to be clarified. If your question includes NON-fiction works (as one user reasonably argues "legends" to include), then it's "Off-Topic." If your question does NOT include non-fiction works, then the religious answers are "Not An Answer." Regardless "Any answer which implies that a religious work is a work of fiction should be immediately flagged for moderator attention (pending deletion)."
@Lexible Sorry, I didn't see your edit. It's totally fine, now. I always assumed that you did not intend to include non-fiction. I was just trying to be circumspect with user<somenumbers>
@user23715 If we do that, then we're out of options for the first ~7000 years of writing. Almost all of our most valued myths are still religious to some people.
I'm with you @Axelrod , but technically it does violate the SE rules governing this SE. -- And yep, the rules are hardly ever enforced equitably. MODS are volunteers and human.
Apparently. Although even if there were historical non-religious non-fiction documentation of a magical sword, I am pretty sure the OP would still want to know about it
I had the thought "this sounds like a literature question more than a sci-fi/fantasy question" -- and then I read your comment-- there isn't a Literature.SE, which makes this the most accurate site to ask the question, regardless of whether some people believe religiously in it or not...
@Axelrod So... yes it includes fiction now. And it has through all three edits.
@user23715 Where is the question in violation of site policy? It is explicitly concerned with "fiction entailing magic"... so concerns about religions settled? Trying to get it in acceptible form.
meta.scifi.stackexchange.com/questions/1053/… -- The answer is a clear "no" but, like I've said, it will only get used to enforce troll or near-troll type questions / answers / comments. -- There are so many SciFi stories about religion that how could this ever be enforced equitably and still have a functioning SE? <-- Rhetorical question btw. :)
... It seems pretty clear that the whole point of a ban on having questions or answers about religious texts is the potential to cause deliberate offence (i.e. by mighty internet atheists). That's clearly not the spirit of the question or any of the answers in this case. To state that a frequently-used element of fiction has antecedents in religious texts does not imply anything about said religious texts.
To fit in with the spirit of the rule, it would make sense to change the wording of the question from 'Where in fiction entailing magic...' to something like 'What's the earliest known story involving magic or the supernatural...' (assuming such a change would accurately reflect the OP's intention).
It's great to see the "move comments to chat" function working as it should, and people talking constructively about the issue in chat :-) This is just a gentle reminder to be nice and respect each other's differing beliefs, and remember that there's always meta if you want to formalise any of this discussion or get a site consensus out of it.
@Axelrod -- well, in that case the religion-based answers would be incorrect... But I believe the standard policy on stackexchange sites is for incorrect answers to be dealt with via votes rather than moderation tools.
Also, that meta post is nearly five years old and seems to me to be primarily about preventing trolling from obnoxious atheists. I'm not really sure that it's entirely relevant to this case... or might be worthwhile putting up a new question on meta?
I understand that questions based on counting religious texts as fiction are off topic here. What about answers (such as this one) which count a religious text (in this case the Bible) as fiction? I suppose they are considered inappropriate, but what are we supposed to do when we see one? Can we ...
@Randal'Thor That's not a proper answer to the situation either, because the answers don't imply that the works are fiction. They're answering the History-Of aspect of the question.
Thanks @Randal'Thor. @Axelrod -- it looks like that meta post does answer the problem here -- leave the existing answers where they are, so long as they're not calling religious texts or other sacred stories 'fiction'. (Unless I'm missing something, which I might be as it's half past midnight where I am. Night night.)
At what point does myth and religion separate? Is the Epic of Gilgamesh considered a religious work? Is the Illiad or the stories of the ancient Egyptians, Mesopotamians, Greeks, Norse, etc?