In the end, the martians are not defeated by humanity, but rather the inablility to survive on Earth. Those who are not killed in battle succumb to disease..... the intolerance of certain bacteria existing on Earth. In time..... they would all have died anyway.
The War of the Worlds