For example, a lawyer who thought she was doing the right thing and protecting many people has caused endless problems, both legal and moral, and likely ended up protecting (by tainting the case against) the very people she sought to bring to justice.
[0] https://en.wikipedia.org/wiki/Nicola_Gobbo#Lawyer_X_scandal