跳出釜底进火坑

tiào chū fǔ dǐ jìn huǒ kēng

out of the frying pan into the fire (idiom)

tiào

to jump

chū

variant of 出[chu1] (classifier for plays or chapters of classical novels)

kettle

bottom; base

jìn

to go forward

huǒ

fire

kēng

variant of 坑[keng1]