As a software engineer, this applies to my entire industry as well.
I’m forced to write subpar software, sometimes with atrocious security simply because some idiot set an unrealistic budget.
The worst part is, my current projects are all government funded. The German government implemented processes to prevent corruption, which force unhealthy competition and backhand corruption onto the bidders, which then churn out bad software, which causes gigantic costs down the line, because nothing works. Great job.