Hiding facts harms society more than it helps.
Prosecutors could choose to do those things, but our reliance on their good graces is foolish and naive. There is no meaningful feedback for these people when they do wrong. On the contrary, they are often rewarded as you say with higher political office or in private practice. There is no meaningful oversight. This is true for every element of the judiciary, prosecutors, police, and judges alike.