Earlier quoted context omitted.
Everyone is entitled (in the US) to due process and a lawyer to defend them. There is nothing unethical or immoral about it. It's a fundamental right .
Again, ethics are a matter of opinion, laws are a matter of fact. Yes, in the US you have the legal right to an attorney. Whether that attorney is behaving ethically depends on the attorney’s behavior and the person making the judgment on the ethics. You and I don’t have to have the same opinion on what’s ethical. We can each advocate for our own ideas of ethics to be codified into policy.
I bet you change your mind about the ethics of having a lawyer represent you.