Bhagavad Gita 6.5
उद्धरेदात्मनाऽऽत्मानं नात्मानमवसादयेत्।आत्मैव ह्यात्मनो बन्धुरात्मैव रिपुरात्मनः॥
uddharedātmanā''tmānaṃ nātmānamavasādayet |ātmaiva hyātmano bandhurātmaiva ripurātmanaḥ ||
One should raise oneself by one's own self alone; let not one lower oneself; for the self alone is one's own friend, and the self alone is one's own enemy.
Let him seek liberation with the help of his Highest Self, and never disgrace his own Self. For that Self is his only friend; yet it can also be his enemy.
Our plain-language meaning of this verse is waiting for scholar review.