Can I ask, does that mean you got so worn out so you couldn't work, had to stay at home / away-from-work for some time?
I wonder what happened afterwards. Seems you now work as an independent contractor now? (looking at your external profile, I hope you don't mind)
But after working on the same problem set for that long I got interested again in solving tougher problems and went back out on the consulting scene.
But that job forever changed my views on work life balance so I am now very aggressive with balancing hours for people that report to me even if I don’t balance my own hours.
The clients though, they want to pay the consulting firm relatively the same price they would pay for a standalone developer employee, per hour. The entire industry is broken and a lot of it has to do with broken recruiting, the recruiting industry, the "consulting firms" (body-shops) that are just resellers, and onerous employment regulations that make firms prefer outsourcing to shady outfits instead of hiring in-house developers.
When has that ever happened?
But then, after many months and likely hundreds of thousands of dollars are already spent, their bar for "mutually-satisfactory state" has been lowered to "I guess we will accept this pile of mediocre shit that the D-team built, because we already wasted months on this and we are desperate for something, and it would be too expensive and just waste more time to try and argue with the consulting firm to fix it".
I spent a long career as a consultant at one of the top "prestigious" firms. Consulting firms almost always prey on this hope that the clients won't complain too much, even though everyone knows the end product that is delivered isn't anywhere close to what was pitched during the sales phase.