bàn​jié​shēn​zi​rù​tǔ

to have one foot in the grave