hang by a thread
US /hæŋ baɪ ə θrɛd/
UK /hæŋ baɪ ə θrɛd/

1.
to be in a very dangerous or precarious situation; to be very close to failure or collapse
:
•
His political career is hanging by a thread after the scandal.
•
The company's future is hanging by a thread due to financial difficulties.