Joab, thrown by the Israelites into Kinsari, broke his sword. He then ordered a similar one to be made by the local smith. The third sword made alone proved satisfactory. With it he cut the smith in twain and killed a large number of people; their blood glued his hand to the hilt. He was advised to dip his hand and sword into the warm blood of the slain. He captured the town and handed it over to the Israelites.
How Joab Captured the City That Had Swallowed His Blade
Gaster, Exempla of the Rabbis No. 304 (Codex Gaster 185)