Right -- all that money goes to pay people's salaries and materials, but the opportunity cost of building something useful is what is lost. That's the answer to the broken window fallacy, Keynesian ditch-filling (at least as a long-term solution; it is possible it makes sense to smooth out demand, but real public works projects are still better even then), etc.