How is the story The Boy Who Cried Wolf an example of karma?

to be quick the story of the boy who cried wolf means if you lie alot no1 will belive any thing you say!