The old car finally had the biscuit.
have the biscuit
idiomTo be of no further use; to be near death.
Origin
disputed originFrom have + the + biscuit (“Communion wafer”).
After years of constant repairs, the washing machine finally had the biscuit and stopped working entirely.
The ancient engine sputtered one last time before it had the biscuit, leaving the travelers stranded in the middle of the desert.