It's unacceptable to steal.
James was mad that his parents wouldn't give him money to buy candy.
James wants to eat candy.
James asked the shopkeeper if there were any chores he could do in exchange for store credit.
When the shopkeeper isn't looking, James sneaks the candy bar into his pocket.
The shopkeeper let James start making deliveries in exchange for a small wage, allowing James to buy candy.
James enjoyed his candy bar but felt guilty every time he went back to that store.