Pilar learned it from Carissa Sevar.
Pilar was mean to the carter, but only after he started it, and in a way that didn't break him, and gave him a story to remember afterwards of how he was strong and handled himself well around a mysterious threat.
Before Project Lawful, Pilar had only seen mean people who liked breaking things. Or were trying to act in a way that would look Evil to others or to themselves. Or who had excuses for doing things they enjoyed that other people weren't enjoying and that would not in fact make people any stronger.
It is a very narrow path to walk, to find a way of Lawful Evil that isn't about being forced to cast Acid Splash on prisoners.