Kevin, his chili upon the carpet
Long labor ruined at the final step.
Describes a work carried out with great care and pride, lost in the last moment through no one's fault but its maker's. The loss is total and, importantly, witnessed.
The phrase carries no mockery when spoken. Scholars stress that it is used with tenderness, often with a hand placed on the listener's shoulder.
In use
Student: I saved the thesis to the wrong drive and then formatted it.
Advisor: Kevin, his chili upon the carpet.
Etymology
From the account of Kevin's chili, which he made once each year through the night according to his family's method. He carried it into the office in the morning, tripped, and lost all of it to the carpet, from which he tried to recover it.
Source
Season 5, Episode 24 — Casual Friday.