The Noldor were safe and in peace in Aman, and didn't really need swords, but Melkor lied them into it.
Those who stayed behind in Middle-earth, however, had to deal with Melkor's left-behind evil creatures. Certainly the peoples of Middle-earth were inventive enough to create weapons of war on their own. Ancient cultures on earth didn't have anyone to instruct them at least