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**.