Bhagavad Gita 9.32

Chapter 9: The royal secret

मां हि पार्थ व्यपाश्रित्य येऽपि स्युः पापयोनयः ।
स्त्रियो वैश्यास्तथा शूद्रास्तेऽपि यान्ति परां गतिम् ॥ ३२ ॥

They who take refuge with Me, O Partha, though of the womb of sin, women, Vaishyas, even Shûdras, they also tread the highest path.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.