said
When you move from a bad or difficult situation to one that is worse, often as the result of trying to escape from the bad or difficult one.
He left a stressful job for another with longer hours and an even more demanding boss, jumping out of the frying-pan into the fire.