Adam M. Grant said this quote

When our commitment is wavering, the best way to stay on track is to consider the progress we've already made. As we recognize what we've invested and attained, it seems like a waste to give up, and our confidence and commitment surge.