三十六計,走為上策
[PinYin] San1 Shi2 Liu4 Ji4, Zou3 Wei2 Shang4 Ce4
The best strategy is to run.
This idiom originated in Ancient Chinese tactician Sunzi's book "Art of War" used to illustrate a series of stratagems used in politics, war, as well as in civil interaction, often through unorthodox or deceptive means. The last one of them is "Fleeing is best", teaching us that when situation goes too dangerous or out of control, it won't be a bad choice to retreat.
You may use this idiom to rationalize one's decision to escape or not to do something.
(The comma is not necessary.)
Example:
三十六計走為上策,他決定不要留在這裡。
Of the Thirty-Six Stratagems, fleeing is best. He decided not to stay here.