You have a lawyer you meet at trial and don't get privacy with, and that's provided they're not incentivized (with money or otherwise) to deliberately fail to defend you.
I just don't think people that went through years of education are still capable of doing something like that. People are motivated by more than just money...
It's not malice. In some places (I believe my state is one), even normal lawyers are required to periodically serve as a public defender. These defenders are just handed cases and required to handle them, period. Now what if it should take you a whole week to go through the facts of the case to properly defend the accused, but it turns out the court handed you about 10 cases that week, and they all have the same issue?