get while the gettin 's good
get while the getting is good
To cease, end, or give up (doing) something before it becomes too difficult or the consequences become too severe. There are some reports that the market is about to take a dive, so I reckon we should get while the getting is good. Listen, kid, there's no way you can win this fight, so why don't you get out while the getting is good?
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.
get (out) while the gettin(g)'s goodand get (out) while the goin(g)'s good
to leave while it is still safe or possible to do so. I could tell that it was time for me to get while the gettin's good. I told her she should get out while the gain's good.
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.