― Voltaire
Where US civil litigation (disputes) are concerned, a good lawyer looks to end the dispute before the cost of litigation approaches the value of the dispute. Once might argue the feature and bug of US tort law is the litigation becomes a third party in the case, against whom both sides must fight, hopefully finding a common enemy in its cost. If the cost is not enough to settle the dispute, you can add the unpredictability of judges and juries who on any given day can invert the obvious, wrecking a 'winnable' case.
A great lawyer, as opposed to a good one, keeps your fees down as you heads to trial against an opponent with seemingly unlimited money and appetite for litigation. They accomplish this by focusing on the core dispute and ignoring ancillary matters, often making their client (wrongly) question how committed they are to their case.
In sum, a good lawyer manages their client (always pushing internally for settlement), works to keep fees down until discovery closes, sows doubt in the other's sides confidence, establishes credibility with the Judge, and shows up meticulously prepared for trial.
As a thought exercise, imagine how hard all this is to do when you dislike your client, your managing partner is on you to increase billings, your kids need braces, and you're hoping to save a few bucks for retirement and an escape from a profession filled with bad lawyers.