Bhagavad Gita

ಯದಾ ಸಂಹರತೇ ಚಾಯಂ ಕೂರ್ಮೋSನ್ಗಾನೀವ ಸರ್ವಶಃ ।
ಇಂದ್ರಿಯಾಣೀಂದ್ರಿಯಾರ್ಥೇಭ್ಯಸ್ತಸ್ಯ ಪ್ರಜ್ಞಾ ಪ್ರತಿಷ್ಠಿತಾ ॥೫೮॥
yadā saṃharate cāyaṃ kūrmoSngānīva sarvaśaḥ |
iṃdriyāṇīṃdriyārthebhyastasya prajñā pratiṣṭhitā ||58||

Gist of the sloka:
Like the tortoise which withdraws the legs within the shell, one who is elevated, withdraws his senses from the sense providing objects.
The senses are the one which primarily takes us on wrong path. The senses take us towards such objects, which are not ideal for our progress. The desire riding on the senses makes us more determined and attract us towards such objects/situations only. We should therefore be like a tortoise, we should also withdraw our five senses from these objects/situations which definitely lead us astray; through the use of our mind and intellect. We should use the same senses to see those objects/situations which will help us to elevate ourselves. We should train our mind to sense only the good of any situation and see the Lord and his miracles in it.
If we practice seeing the glorious universe and the Lord behind it, that thoughts will embed in our mind. We will slowly realize that Lord exists everywhere. We start to see the varied qualities of the Lord. Then the objects/situations cannot mislead us. This is how the gynani sees the world.
We cannot change the world. We cannot control the world. We only realize this truth once we assimilate this knowledge. One should therefore adjust to the world as it is and learn the Lord glory from it. By these actions one can control the sense and strengthen the mind.