This is confirmed in Bhagavad-gita in the well-known verse yada yada hi dharmasya glanih. "Whenever there is a decline of dharma and a rise of adharma, O Arjuna, then I incarnate Myself: Revision history
Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.