Bhagavad Gita

ಭಗವಾನುವಾಚ ।
ಕುತಸ್ತ್ವಾ ಕಶ್ಮಲಮಿದಂ ವಿಷಮೇ ಸಮುಪಸ್ಥಿತಮ್ ।
ಅನಾರ್ಯಜುಷ್ಟಮಸ್ವರ್ಗ್ಯಮಕೀರ್ತಿಕರಮರ್ಜುನ ॥೨॥
bhagavānuvāca |
kutastvā kaśmalamidaṃ viṣame samupasthitam |
anāryajuṣṭamasvargyamakīrtikaramarjuna ||2||

Gist of the sloka:
Lord Krishna spoke: Arjuna, why are you in this situation, which the wise men would not approve of and neither would it give you a place in the Heavens? This would destroy your name and fame. Why has this sense of ignorance/impurities covered you?
Lord Krishna does not address any of Arjuna’s various arguments as they were all clouded with emotion rather than real knowledge. By scolding Arjuna, Lord Krishna removes any iota of expectation that Arjuna might have had in terms of obtaining any sympathy from the Lord.
Lord Krishna continues. He challenges Arjuna as where did he learn to think like this [defeatism]? How did this happen? When the war is about to begin, when you should be ready to get into the battle, why are you thinking like this?
Arya’s never think like this. By thinking along this line, you are about to lose all the fame [as a great warrior and thinker] on the earth and no place in the heaven. You would be considered as a coward not as the greatest warrior. You will neither get comforts here nor in heaven.
Wise men, elders etc., would never allow for such thinking.
Arya here does not denote any particular community of people, rather represents those who have earned their place due their extra ordinary knowledge and wisdom. It’s a respectful term applied to those who have earned it.