do something while the going is good - definition and synonyms

phrase informal
  1. to do something before any problems happen that will prevent you from doing it

    I decided to get out of there while the going was good.

See also main entry: going