How do lawyers weigh the interests of clients and social fairness and justice?

If the law is the balance of fairness and justice, then lawyers are very important weights on this balance. The duty of a lawyer is to help the aggrieved person clear his guilt and win the lawsuit. Shi Yang, a barrister in a historical story, did just that, which is commendable. However, in real life, many lawyers don't do this. They don't act to safeguard social fairness and justice, but work exclusively for profit. As long as you are rich and willing to pay, he can confidently help others argue irrationally. There is an example: a migrant worker accidentally hurt his little finger because he violated the safety operation rules. There is a legal compensation standard, which can be resolved through consultation between both parties. However, some people got in the way and encouraged the migrant worker to sue for money and demanded compensation of nearly100000 yuan. To make matters worse, the lawyer said in the complaint that it was the boss who violated the right to life of migrant workers and was really a hooligan. Arguably, it is to safeguard people's legitimate interests, but on the contrary, it is to help people talk about irrationality. You should be defending fairness and justice, but you help others do evil. I hope that one day all rogue lawyers who do not safeguard fairness, justice and the legitimate interests of the people and lack minimum morality can be cleared out of the legal profession!