Exercising self-restraint can be depleting, yet it can also be ennobling.