why was hercules banished to the hills

Hercules was banished to the hills by King Eurystheus as a punishment for killing his own wife and children in a fit of madness induced by Hera, the jealous wife of Zeus. Eurystheus saw Hercules as a threat and wanted to keep him away from the kingdom.