Why do criminals have defense lawyers? Is this defense lawyer hired by the criminals themselves, or is the defense lawyer entitled to everyone?

It is the right of every citizen to have a defense lawyer. No matter whether he has committed a crime or not, no matter how big the crime is, it shows that everyone is equal before the law, and he cannot be deprived of his right to defend someone just because he has committed a crime. The legal requirement is fairness and justice. As a lawyer, his professional requirement is to safeguard the rights and interests of clients. Therefore, since criminals have hired lawyers, lawyers must defend innocent or guilty parties.