Are you sure the money paid to the lawyer didn't come out of your SSDI award? That is sometimes done. In that case the lawyer only gets paid if you win.
The representative benefits greatly when SSA stretches the process out, which is almost always the case. If a person becomes too sick to work, files a claim, and receives benefits in just a few months, the rep. would get nothing, since SSA won't award retroactive benefits for the first five full months of the disability. Apparently sick people don't need any money for the first six months.
Nearly everybody is rejected at the state level, by their state's "Disability Determination Service". I have never seen any explanation of why state employees review (and mostly deny) all claims before SSA employees review (and sometimes allow) claims.
The claim acceptance rate by each Administrative Law Judge (who is just another lawyer, not a 'judge in a court of law') is public information. The disability lawyer I used publishes this information on his website. The huge variation in favorable decisions, by ALJ and region suggests that their decisions are largely arbitrary.
When I posted the article, it was my intention to post an analysis of it, but I was too upset to do so. I'd still like to do that, if I can "Keep Calm"...