Q. If a hog is decided to be in the right, what is the consequence?
A. He is almost ruined.
Q. If in the wrong what?
A. He is quite ruined.
Source, in full
The Sexagenarian: or, The Recollections of a Literary Life, 2nd ed. (1818), vol. 1, p. 324. A parody of the legal system: "Quote Origin: 'I Never Was Ruined But Twice, Once When I Gained a Lawsuit, and Once When I Lost It'", Quote Investigator (23 May 2023)