Etymology
Today it means: To be of no further use; to be near death. Full definition →
From have + the + biscuit (“Communion wafer”).
Etymology from Wiktionary, CC BY-SA 4.0.