Here's the more popular version: Better luck next time.
This is usually said to someone who fails to reach a certain goal. Basically, the full idea is: Because you failed to reach your goal this time (and because you want to keep on trying to reach this goal), I will wish you "better luck" for next time.