Out of the frying pan and into the fire

ImageMeaning:

This idiom is used to say that someone gets out of a difficult or bad situation, but eventually goes into a more difficult or worse one.

If you say "Out of the frying pan and into the fire", you mean someone has moved from a bad or difficult situation to a worse one.

Example:

If the government accepts his new proposal, the nation will be jumping out of the frying pan into the fire. ( = It will make the situation worse.)

A: I've finally finished my assignment. It was very difficult, but the next one looks much harder.
B: Out of the frying pan and into the fire..