Not a sword, exactly, but a tent peg (from Judges chapter 4):
4 Now Deborah, a prophet, the wife of Lappidoth, was leading Israel at that time. 5 She held court under the Palm of Deborah between Ramah and Bethel in the hill country of Ephraim, and the Israelites went up to her to have their disputes decided. 6 She sent for Barak son of Abinoam from Kedesh in Naphtali and said to him, “The Lord, the God of Israel, commands you: ‘Go, take with you ten thousand men of Naphtali and Zebulun and lead them up to Mount Tabor. 7 I will lead Sisera, the commander of Jabin’s army, with his chariots and his troops to the Kishon River and give him into your hands.’”
8 Barak said to her, “If you go with me, I will go; but if you don’t go with me, I won’t go.”
9 “Certainly I will go with you,” said Deborah. “But because of the course you are taking, the honor will not be yours, for the Lord will deliver Sisera into the hands of a woman.” So Deborah went with Barak to Kedesh. 10 There Barak summoned Zebulun and Naphtali, and ten thousand men went up under his command. Deborah also went up with him.
11 Now Heber the Kenite had left the other Kenites, the descendants of Hobab, Moses’ brother-in-law, and pitched his tent by the great tree in Zaanannim near Kedesh.
12 When they told Sisera that Barak son of Abinoam had gone up to Mount Tabor, 13 Sisera summoned from Harosheth Haggoyim to the Kishon River all his men and his nine hundred chariots fitted with iron.
14 Then Deborah said to Barak, “Go! This is the day the Lord has given Sisera into your hands. Has not the Lord gone ahead of you?” So Barak went down Mount Tabor, with ten thousand men following him. 15 At Barak’s advance, the Lord routed Sisera and all his chariots and army by the sword, and Sisera got down from his chariot and fled on foot.
16 Barak pursued the chariots and army as far as Harosheth Haggoyim, and all Sisera’s troops fell by the sword; not a man was left. 17 Sisera, meanwhile, fled on foot to the tent of Jael, the wife of Heber the Kenite, because there was an alliance between Jabin king of Hazor and the family of Heber the Kenite.
18 Jael went out to meet Sisera and said to him, “Come, my lord, come right in. Don’t be afraid.” So he entered her tent, and she covered him with a blanket.
19 “I’m thirsty,” he said. “Please give me some water.” She opened a skin of milk, gave him a drink, and covered him up.
20 “Stand in the doorway of the tent,” he told her. “If someone comes by and asks you, ‘Is anyone in there?’ say ‘No.’”
21 But Jael, Heber’s wife, picked up a tent peg and a hammer and went quietly to him while he lay fast asleep, exhausted. She drove the peg through his temple into the ground, and he died.