The top 0.04% engineers are probably multi-millionaires. But that doesn't detract from the fact that Lawyer together with Banker is quite a good profession financially speaking.
As an engineer, to become a multi-millionaire, you need to get "lucky" by your small share of equity suddenly being worth a lot because of an acquisition or IPO. If that doesn't happen, you're not going to be a multi-millionaire. As a lawyer, you can easily become a multi-millionaire simply by doing your job at a respected law firm, and that doesn't require an acquisition or IPO event.
The top few fractions of a percent of engineers can become at least a principal engineer at a FAANG and be getting well over 500k a year in comp, similar to the numbers being thrown around for these clerks. That was mainly my point, not talking about startup exits.
In general, I would not say that Lawyer is a good profession due to the high degree of variance. The top 10% land big law positions starting ~180k, the bottom 10% of grad are unemployed, and most of the rest make about 50-60K/yr and have 200k of debt
No-one is saying they are not good, but I've read the top-level comment as implying they are better than software engineering, and after reading responses in the thread I'm not convinced that this is the case.