idiom
Out of the frying pan and into the fire
Попасть из огня да в полымя.
Meaning
Going from a bad situation to an even worse one.
Example
Quitting that job put him **out of the frying pan and into the fire**.
Уход с той работы поставил его из огня да в полымя.