The deal you get from prosecutors is only as good as your lawyer and good lawyers cost money. This is what happens when the criminal justice system is run by politicking judges and prosecutors elected by a public whose understanding of punitive systems doesn't get any more nuanced than "let's be hard on crime!"