It’s certainly a good profession for careerists and advancement, which tends to draw a certain type of person
I agree for the most part. Sometimes I think it is a hindrance that we have an adversarial system, and some prosecutors are more interested in winning than justice. For example, how often do prosecutors call a witness that hurts their case, even if the witness’ testimony is relevant.
If a witness has testimony that hurts the prosecution’s case, it depends upon how badly. If it’s really bad, it never gets to trial. Either the case is settled or dismissed. In some cases, one witness’s testimony may be contradicted by another witness. But yes, prosecutors want to win as much as defense lawyers do. I liked the adversarial system, but I agree it’s far from perfect.