My Dad was a defense attorney, and as kids we were confused, when we realised he was working for 'the bad guys.'
He would carefully explain to us that our Justice System is based upon a profound principal.
EVERY single defendant will be given a robust, fair, impartial advocate, so that they can have a fair and just trial, and not be assumed Guilty just because of what the state sets forth.
We have all seen cases here where one person seems to be undeniably the guilty party, and then more facts come in, from the defense, and they are eventually cleared.
I am glad when I see a robust defense, unless of course it is dishonest and deceitful... *cough..Jose
Baez...*cough....