虎口を逃れて竜穴に入る(ここうをのがれてりゅうけつにいる)

Japanese vocabulary

Meaning: out of the frying pan into the fire; out of the tiger's mouth into the dragon's den

See it used in real works