be out of the woods
US /bi aʊt əv ðə wʊdz/
UK /bi aʊt əv ðə wʊdz/

1.
to be free from a difficult or dangerous situation
:
•
After the surgery, the doctor said she's not completely out of the woods yet, but she's recovering well.
•
The company is still struggling financially, so we're not out of the woods yet.