They fought because they were paid for it; they were not interested very much in the conquest of Greece. The Athenians on the other hand, fought for their freedom. They preferred to die rather than lose their freedom, and those who are prepared to die for any cause are seldom defeated.
Source, in full
On the defeat of the forces of Darius the Great of Persia at the Battle of Marathon, in Glimpses of World History; Being Further Letters to His Daughter, Written In Prison, And Containing A Rambling Account of History For Young People (1942); also in Nehru on World History (1960} edited by Saul K. Padover, p. 14