get out while the gettin’s good

get out while the getting is good

To depart, escape, or extricate oneself from some place or situation before conditions worsen or it becomes impossible, too problematic, or too dangerous to do so. With stock prices in the company threatening to plummet, we decided to get out while the getting is good. We heard that they'll be sealing the border soon, so we're getting out while the getting's good.
See also: get, good, out, while

get out while the gettin’s good

verb
See also: get, good, out, while