He spent a lifetime reading and ended up nothing but a jar of sour old pickles.
Tips
history
黄虀 (huángjī) is pickled yellow greens — the cheap, sour staple of poor students. The image of them gone rancid sums up the stereotype of the useless, embittered scholar. Purely literary — encountered only in classical-flavored writing.