Who do you suggest solve legal problems if not the government?
A good example I can think of is over charging a defendant. Aaron Swartz is a good tech example.
https://en.wikipedia.org/wiki/Aaron_Swartz
The only ray of light is Kamala Harris got killed in the presidential primary. She basically ran on throwing people in jail and the old, "tough on crime" trope. She probably would have been much more successful if Tulsi Gabbard hadn't mentioned her prosecutorial record. Many prosecutors have political ambitions and prosecute accordingly.