Whenever there is decay of righteousness ... then I [Krishna] Myself come forth. Bhagavad Gita 4:7
Trivia: According to Arjuna, what happens when women become corrupt?