Lord SriKrishna Said:
'In order to protect the virtuous and the destruction of evil, as well as to re-establish Dharma, I reincarnate myself millennium after millennium’.
This implies that God descends into the world in various forms again and again to establish Dharma. Whenever the evil takes the upper hand and the virtuous people suffer Bhagavan appears and restores Dharma by destroying the evil doers and protect the virtuous.