Not sure if you have a specific example in mind or speaking generally.
What I am saying is that generally, private companies abuse the government money when they can. Just like private companies enshittify their products to make more money. It's all about making money.
Why are governments getting bad software from companies? For the same reason users are getting bad software as well. The software industry produces money, not good software.
My point is that "private companies abuse the government money when they can" is well-known fact. Thus, government as a customer should make everything possible to buy software on competitive market basis. If govt chose easy way to blindly gave shitton of money to some company with vague acceptance criteria and got bad result in return - this is 100% govt fault.