idiom
by the skin of your teeth
едва справиться с чем-то
Meaning
to just barely manage to do something
Example
He passed the exam **by the skin of his teeth**.
Он едва сдал экзамен.