Keep in mind what you are working towards.
Here's what happens. We get so caught up in our work that we tend to lose sight of our goals. We forget why we're slogging, why we're taking flack, why we're giving up on other things. But there is a reason we are doing this. There is a greater goal. Money may be a short-term goal, but achievement, learning, and experience are bigger goals.