Are there any expressions that describe going from a bad to a worse situation?

Out of the frying pan, into the fire.

Link


There's always the old saw:

Jumping from the frying pan into the fire.

Not quite an idiom, but a somewhat familiar expression is

Discovering that the light at the end of the tunnel is the headlight of an oncoming train.