I agree completely. But it’s still very hard to do this. I elaborated further in an adjacent comment: https://news.ycombinator.com/item?id=50668041
Also, for the record, I don’t believe that contractors or contracting out certain work is inherently bad. Rather, misalignment, missing expertise, and misaligned incentives make it very very hard to do in an effective way. There are absolutely certain government problems where I think contracting is the right approach—just not in the way it is often done, and not as the default option.