Did you know that the Bible is inconsistent about who killed Goliath? But I think Kaspars Ozoliņš is correct about the solution to the problem.
For many PaleoJudaica posts on Goliath the giant, see the links collected here (cf. here).
Visit PaleoJudaica daily for the latest news on ancient Judaism and the biblical world.