This phrase encourages putting in effort to earn the good things in life, like relaxation, enjoyment, or success. You might say it when motivating someone to stay committed to their goals, or to remind them that enjoyment comes after hard work. For example, if a friend is tempted to skip work or take shortcuts, you could say this to reinforce that true enjoyment comes to those who put in the effort first.