when the going gets good
a phrase used to indicate that something with happen when
begin to happen. The phrase says 1) that things are going to get better and 2) that is when the mentioned event or state of being will commence. see also: the going is good good going and how's it going