Considering that democracy means people choosing their government, the power would need to be in the hands of the people, not the government, to protect democracy. What will the population do if the government goes rogue and imposes autocracy?
Some might say this is the purpose of the second amendment.
Some might say this is the purpose of the second amendment.