There is nothing wrong with outsourcing it. You just need to make sure you have good quality control.
Which drives costs up, often quite radically.
When you build something for your own company, the goal is to get as good quality as feasible within time and budget constraints. Next year's salary depends on it.
When you build something as a bidding contractor for the government, the goal is to reduce your costs by as much as you can get away with and exceeding the budget with as much as you can get away with.
It doesn't matter if what you deliver is utter crud as long as you can get away with it. Politicians ensure that next year, you will be able to bid again, and if your bid is the lowest, get the contract. At which point you hire the cheapest unskilled labor and subcontractors that can do the job and no more. Quality, shmality.