It doesn't mean its productive. We could be spending half a trillion on civil engineering to rebuild cities, roads, high speed rail, canals, etc. That has appreciable and visible benefits to society.
Occupying a desert on the other side of the world largely to disrupt oil pipelines seems less effective as stimulus.