Control makes
one Behave like a true Master!

Buddha once asked: How,
Bhikkhus and friends, is there full mental control?
When seeing
a form then one becomes neither attracted by any pleasing form,
nor repelled by any displeasing form! When having heard a sound with the ear,
one becomes neither entranced by any charming sound, nor opposed by any
horrid
sound! When having sniffed a smell with the nose, one becomes neither
fascinated by any lovely
smell,
nor held off by any detestable smell!
Having tasted a flavour with the tongue,
one becomes
neither captivated by
any likeable taste, nor rejected by unlikable taste!
When having felt
a touch
with the body, one becomes neither allured by any pleasant
touch, nor repelled
by
any unpleasant touch! When having experienced
whatever mental state
with
the mind,
one becomes neither obsessed by any agreeable mental
phenomenon,
nor rebuffed by
any disagreeable mental phenomenon whatsoever...
Thus does one live on, while having established
Awareness of the
Body, yet
also
abiding within an unlimited & infinite mind.
Thus does a focused one come to
understand, through direct
experience, that release of mind, a mental release
through understanding,
wherein all those evil & disadvantageous mental states
irreversibly
cease
without any remaining trace! It is in exactly this way, that
there is
full mental control!

Comments:
The
infinite mind, counteracting hate &
anger,
is a mind made limitless by
the praxis of the
4 sublime & divine dwellings (brahma-vihāra), also called the
4
infinite
states (appamaññā), which are:
Infinite
Friendliness (Mettā),
Endless Pity
(Karunā),
Mutual Sympathy & Joy
(Muditā), and
Imperturbable
Equanimity
(Upekkhā).

For
Awareness
of the
Body, which counteracts greed, lust & desire; see:
https://What-Buddha-Said.net/drops/III/Awareness_Sati.htm
https://What-Buddha-Said.net/drops/II/Meditation_On_the_Body_Kayagata-Sati.htm
Having counteracted both greed & lust, which
pulls in the mind attracting it
to objects, and having counteracted both hate & anger, which push
the mind
repulsing
it from objects, mind may stay stilled and ballanced in the middle,
untouched, ballanced and in complete
control...

Source (edited extract):
The Grouped Sayings of the Buddha.
Samyutta Nikāya.
Book IV [189-]
35: 6 Senses. Salayatana. States that entail Suffering.
Dukkha-Dhammā 244.
http://store.pariyatti.org/Connected-Discourses-of-the-Buddha_p_1379.html
https://What-Buddha-Said.net/library/ati_website/html/tipitaka/sn/index.html
