Just so there is no confusion, let me tell you what the job of a criminal defense attorney is and isn't.
It isn't to "get you off" on a crime that you did commit.
It isn't so that you have someone to blame when you are sitting in jail.
It isn't to come up with wild alternate theories on who committed your crime.
It isn't to convince a jury that you didn't commit a crime you did.
It isn't to convince the judge that your feelings were hurt when you got arrested.
It is to offer the best defense they can based on your situation. If you did it then what can they do?
It is to keep you from getting convicted if you didn't do it.
I really believe that's what the framers had in mind. It sure makes more sense than what we have accepted as normal these days.