The situation was based according to attitudes-follow-behavior principle.
The attitudes-follow-behavior principle tells that a good start in attitude and outlook can have an effect on behavior. In the given situation, Lori wanted to have to change her behavior and she plans on doing it by having a good attitude, so the principle is then applied.
On the other hand, people who experience pain through expectations and failure may show discomfort in their behavior.