The Buddha (this saying written down in the 3rd Century BCE)
“Wandering far and alone, intangible,
the mind is hidden in the cave of the body.
Those who would restrain the mind
are liberated from the bonds of Māra.”
- From The Dhammapada (Verses on the Way, Chapter 3), recorded in the 3rd century BCE. Translation by Glenn Wallis, 2004.