This is often brought up in relation to public vs private funding. But private funding is also massively wasteful and also involves a lot of pork barrelling. It just isn't centralised or accountable.
Speculation, failed products (or worse yet, successful but bad or useless products), failed businesses, and sales, compliance, patent and procurement costs, all sit on top of the cost of designing and producing drugs. All split up between different parties initially, but in the end shouldered by the general public, both in outright costs and also in opportunity costs.
I reckon we could bear quite a bit of waste before it became worse than the private sector.