Bhagavad Gita

ಇಂದ್ರಿಯಸ್ಯೇಂದ್ರಿಯಸ್ಯಾರ್ಥೇ ರಾಗದ್ವೇಷೌ ವ್ಯವಸ್ಥಿತೌ।
ತಯೋರ್ನ ವಶಮಾಗಚ್ಛೇತ್ ತೌ ಹ್ಯಸ್ಯ ಪರಿಪಂಥಿನೌ॥೩೪॥
iṃdriyasyeṃdriyasyārthe rāgadveṣau vyavasthitau|
tayorna vaśamāgacchet tau hyasya paripaṃthinau||34||

Gist of the sloka:
Each of the indriyas [senses] are filled with desire and resentment. One should not fall for them, for they are the seekers greatest enemy.
In each of the senses, there are two aspects which work against a seeker. Desire and resentment. Due to which we have raga [attachment, want] and dwesha [desire, Kama]. Due to want, one obtains raga and due to raga, one gets desire. If obtained, then it results in greater possessiveness. If not anger. If someone else gets it, then jealousy and anger. If it is not as per our vision, then anger.
Among all the above, the root cause is desire. The more we desire more anger we obtain or more grief. If we control the desire – the root cause, we control both anger and grief.
We should therefore never get trapped into desire. We are then safe from ragadwesha, kama-krodha [anger]. We should never have possessiveness. For all these, drives the person to greater darkness and destruction.
Belief it has to be possessed by myself only and not by any other is a character of each sense. This is due to the ego behind our way of life. Lord Krishna warns repeatedly, never surrender to these [senses, desires, anger] and become its servant. They are big barriers for a seeker. They are the real enemies.
Not falling for these enemies, we should have control over our senses. We should stand detached from them and view each action of them critically. We should analyze what is the motivation for them, what is in their self-interest. Will these actions lead us astray? Will it help me elevate or push me down in my path?
It is like using a sieve while cleaning the flour. We should use our intellect along with our mind; while clearing our desires. By this analysis, one should clear the impurities and take the most appropriate action which elevates oneself. Sri Lakshmi herself would then be seated in such actions.
Lord Krishna is instructing Arjuna that he should fight without these impurities and fight for the sake of dharma. He is indirectly cautioning him [about future] that he should not jump with joy when Duryodhana dies or fall into grief when Abhimanyu dies.