It is true that laws protecting rights are a precondition for the production of wealth, but a precondition of production is not production. In enforcing proper laws, the government does not produce anything – it merely protects the productive activities performed by private individuals. Guns cannot create wealth. When a policeman prevents a mugger from stealing your wallet, no value is created; you are left intact, but no better off.