That is because for them wood was a more durable material than metal. Yes the other side can cut the wooden part of a spear if they get the chance to hit it just right, but with a bronze (or worse: copper) sword you have to stop and try to get it back in form with a stone every few minutes regardless, while the one with the spear can still defend themselves.