Out of the frying pan into the fire
lɛpas dari mulut harimaʊ masuk kə mulut buaja
In Indonesian 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 setelah pindah pekerjaan."