Passive voice is merely a form of speech. It’s not blanket-wrong. It serves to diminish the actor, which can be a legitimate choice.
“He was diagnosed with flu” is passive voice, and appropriate, because the diagnoser is not important. We care more about the flu than the doctor.
“Mistakes were made” is evasive and serves to obscure, and should be avoided.