Out of the frying pan into the fire
ləpas dari mulot harimaʊ masoʔ kə mulot buajə
In Malay Lepas dari mulut harimau, masuk ke mulut buaya
This idiom describes escaping one bad situation only to find oneself in another, equally bad one.
Example
"Dia lepas dari mulut harimau, masuk ke mulut buaya selepas bertukar kerja."