Good sense from Greg Mankiw:
Usually, GDP is a reasonable proxy for economic well-being, so more is better, but that is not true in this example. Part of the problem here is that GDP includes government purchases at cost. If the government hires people to produce stuff that is worthless, that stuff is included in GDP just as much as if the government buys something valuable. When calculating GDP, the national income accountants do not pass judgment on the social utility of government spending. Anyone concerned with economic well-being has to go beyond thinking about GDP.