Seems overly cynical. How about public defenders, Miranda rights, etc.?
The US court system is set up to be adversarial. The belief is that you get the best overall outcome by having one set of people who try to convict, and another set of people who try to acquit.
One can also make the system look bad from the other direction by arguing that public defenders are terrible, because their job is to help criminals walk free. https://xcancel.com/katanaspeaks/status/1954636840272884111
You're welcome to argue against the overall concept of an adversarial court system. But the system has to be taken in total, rather than selectively focusing on one side.
Arguing for the merits of an adversarial system is one thing. But many parts of due process are effectively completely dead for the vast majority of defendants, and prosecutorial discretion rules the justice system almost completely for those of us who aren't millionaires. "Adversarial" might work for OJ Simpson, but it hasn't worked for most of us for a long time, and the US prison system holds the most prisoners per capita in the world - it isn't close†.
Defenders of the shortcuts we have created proudly justify it as saving the taxpayer money; of making workable a situation where they feel they are underfunded by an order of magnitude, but the reality is that it is justice amputated of essential components. If you want to save money, maybe consider making fewer things illegal, and imprisoning people for a shorter amount of time, but go back to actually holding real, speedy trials that are effectively adversarial in nature. In the meantime, we have a judge/jury/executioner in the DA's office, and they get re-elected electorally largely based on their conviction rate; Like shooting fish in a barrel.
†Depending on how you view internment camps for specific minorities