I recent beat an actual lawyer as a pro se plaintiff in a civil suit. It was all codex and claude, using the cli agents to write the "import docx" scripts that wrote all the filings, and scripts to assemble exhibits. I don't know how long the bars will be able to hold onto their monopoly powers when confronted with LLMs that are measurably superior.
Additionally, you haven't given any of the details of your case, so I'm going to assume you were simply in a position where the facts of your case weighed heavily in your substantive favor, and no amount of legal maneuvers by the defendant would have made a difference.
There's nothing magical about lawyers. They are mostly just boring, studious people who excelled in non-STEM academics and were good at memorization and test taking. If you have a strong case, it won't matter very much who the lawyer is on the other side.