The moral of the gingerbread story is to be careful about who you trust. The fox was very deceptive and was able to reap the fruits of lying, but the gingerbread man should have paid more attention to whom he trusted.