三十六計逃げるに如かず(さんじゅうろっけいにげるにしかず)

Japanese vocabulary

Meaning: the smartest thing in a tight situation is to beat a retreat

See it used in real works