Well, they are good as a last resort and as a utility device, and I would certainly carry one, but any time you can use one, you are almost certainly within reach of them as well, which is not where you want to be.
A boar spear on the other hand can keep them at bay, giving your buddy time to whip out, say, a meteor hammer style weapon, or a really long handled sledgehammer, to smash their skull in.
The one thing is you never want is a weapon that uses up irreplaceable resources except as a last resort, and in a full on apocalypse bullets are irreplaceable.
Irreplaceable resources means constant looting to get more and looting will put you in conflict with other humans who want them as well, the real danger of the apocalypse.
Same with bikes and horses verses motor vehicles. The latter may be faster, but use irreplaceable resources at an alarming rate.