在劫难逃 grew out of Buddhist
劫 (jié — kalpa, a cosmic cycle of catastrophe), meaning a calamity decreed by fate. Mao quoted it in 《
论持久战》 ('On Protracted War') applied to enemy forces — that political usage is preserved in Xinhua's etymology entry. Today it is everyday hyperbole: 'there's no getting out of this one'.