The concept of 'loss aversion' plays a critical role in decision-making, where the pain of losing is psychologically twice as powerful as the pleasure of gaining.
The purpose of a habit is to remove that action from self-negotiation. You no longer expend energy deciding whether to do it. You just do it. Good habits can range from telling the truth, to flossing