who controls the mind
In Jainism, the mind is considered one of the senses (manas), and it is the soul (jiva) that exercises control over the mind. However, the mind often wanders due to the influence of passions (kashayas) such as anger, pride, deceit, and greed, which bind the soul with karmas.
Jain teachings emphasize self-control (samyama), right knowledge (samayak jnana), right faith (samayak darshana), and right conduct (samayak charitra) as the means by which the soul can discipline the mind. Through practices like meditation (dhyana), self-restraint, and following the five great vows (mahavratas for ascetics, anuvratas for laypeople), one can gradually gain mastery over the mind and progress on the path of liberation (moksha).
So, according to Jainism, it is ultimately the soul that must control the mind through conscious effort, ethical discipline, and spiritual practice.