Actually it was because Hera was jealous because Zeus had cheated on her and the lady gave birth to Hercules. So Hera made Hercules go mad and kill his family. After he did this he was saddened so he prayed to Apollo and he told Hercules to complete the 12 labors to make up for his crime.
Chat with our AI personalities
Hercules was tricked into murdering his wife and children, and the twelve labors were his atonement for their killings.
Hercules had to do them because he killed his beloved family in madness as hera turned them into monsters.
Hercules went mad and killed his children; the Delphic Oracle stated that he would have to preform the labors asked of him by King Eurystheus of Mycenae.
He worked really hard...
This is somewhat of a silly question unless you really meant to ask "What did Heracles do to complete each of the 12 labors?".
Hercules
Hercules had 12 labors
Herecules did twelve Labors.
Hercules completed the legendary twelve labors.
12