Out of the frying pan into the fire
aːɡ seː nɪkal kar cuːlheː mẽ ɡɪrnaː
In Urdu آگ سے نکل کر چولہے میں گرنا
This idiom describes escaping one bad situation only to find oneself in another, equally bad one.
Example
"اس نے نوکری چھوڑی اور آگ سے نکل کر چولہے میں گرنا۔"