Lying about a clearly provable fact is not generally how attorneys misrepresent reality. When you have an inconvenient fact and you are not obligated to disclose it, you can paint an alternative picture with the facts that you have disclosed. There are many specific rules that also limit what an attorney can say once you have actual knowledge that your client has committed a crime. You have more flexibility in civil matters but not to the point to which you can lie and escape liability for it.
There are many contexts in which you may be obligated to disclose exculpatory evidence in either civil or criminal cases. This really limits how much you can actually lie because of the discipline and transparency that are imposed by the open exchange of evidence.
So, right, you bring up the painting the rape victim as a slut defense. The way that you do that effectively is not by libeling the victim or inventing things out of whole cloth. You do it by creating the possibility for reasonable doubt in the jury by describing objective facts about the behavior of the alleged victim e.g. "On the night of the alleged incident, she posted "I'm gonna get laid tonight, hell yeah!" on Facebook. She texted the defendant "I'm really horny... u down?" not long afterwards.
Do either of those facts mean that the rape did not occur? No, it could have still occurred. The defendant could still be guilty. But your job is to establish reasonable doubt in the jury, and if there are good facts for your side, you go with that. If the prosecution brings up better evidence like security footage, the defense is screwed, but you could still use the 'good facts' on your side to try to bargain down the charges.
So, attorneys misrepresent the truth not by lying but by constructing narratives that favor their side using the best evidence that supports that narrative. Attorneys don't lie if they can avoid it, but they can deceive with the truth!
Confidentiality, yes, that's how the system works.
Here's a compilation of successful disbarments over client abuses compiled by a plaintiff firm that specializes in getting other attorneys disbarred: https://attorneygrievances.com/recent-court-cases/disbarment... Almost all of these issues are related to dishonoring the wishes of clients or just acting irresponsibly.
There are other compilations from any state bar. It's also frequently a topic of news articles in attorney periodicals about attorney sanctions and disbarment, especially because the stories are often funny and colorful such as attorneys being sanctioned for encouraging a witness to be rude or attorneys sanctioned for sassing judges.