This, and the "but the government has nukes" argument, assumes the only scenarios are "no resistance" or "all-out war". In reality there's likely a step function where even the possibility of some armed resistance would go a long way in dissuading a would-be tyrannical government, especially in this age where anyone can instantly broadcast video across the globe.
That assumes a large enough portion of the population that wants to resist owns guns. I wish more liberals (especially groups likely to be persecuted) owned guns for this reason.