The shepherd boy was bored and cried "wolf" twice when there was no wolf to amuse himself, causing the villagers to come help unnecessarily. When a real wolf did come, the villagers did not believe the boy's cries and did not come to help, resulting in the flock scattering. In the end, the villagers did not believe the boy even when he was telling the truth about the real wolf because he had cried wolf too many times before when there was no real threat.