hang on by a thread

hang on by a thread

To be perilously close to failing, dying, or resulting in a bad outcome. After the loss, their chances of getting into the championships are hanging on by a thread. Her life hung on by a thread as medics rushed her to the hospital.
See also: by, hang, on, thread