quit while youre ahead

Quit while youre ahead is an idiom which means to quit doing something risky before you begin to lose and will ultimately regret it. Quit while youre ahead is typically told to someone who is doing something risky and seems to be getting very lucky with positive results. However, once youre ahead you shouldnt push your luck and therefore may be told to quit while youre ahead as a way to be told to stop tempting fate.