Jump out the frying pan into the fire
Out of the frying pan into the fire
from a bad or difficult situation to one that is even worse:
I thought my old job was stressful, but my new one is 10 times worse. It’s like going out of the frying pan and into the fire