What does the fable The Boy Who Cried Wolf try to teach?

The Boy Who Cried Wolf tries to teach to small children not to lie and not to joke about something serious.