2 Samuel 21:19

19And there was again war with the Philistines at Gob, and aElhanan the son of Jaare-oregim, the Bethlehemite, struck down Goliath the Gittite, bthe shaft of whose spear was like a weaver’s beam.
Contrast 1 Chronicles 20:5, which may preserve the original reading

1 Chronicles 11:23

23And he struck down an Egyptian, a man of great stature, five cubits
A  cubit was about 18 inches or 45 centimeters
tall. The Egyptian had in his hand a spear elike a weaver’s beam, but Benaiah went down to him with a staff and snatched the spear out of the Egyptian’s hand and killed him with his own spear.

1 Chronicles 20:5

5And there was again war with the Philistines, and Elhanan the son of fJair struck down Lahmi gthe brother of Goliath the Gittite, the shaft of whose spear was like a weaver’s beam.
Copyright information for ESV