Bhagavad Gita 4.8
Chapter 4: Knowledge and the offering of action
परित्राणाय साधूनां विनाशाय च दुष्कृताम् ।
धर्मसंस्थापनार्थाय सम्भवामि युगे युगे ॥ ८ ॥
For the protection of the good, for the destruction of evil-doers, for the sake of firmly establishing righteousness, I am born from age to age.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.