Bhagvad Gita (shloka 2.61):
TRANSLATION
ONE WHO RESTRAINS HIS SENSES AND FIXES HIS CONSCIOUSNESS UPON ME IS KNOWN AS A MAN OF STEADY INTELLIGENCE.
PURPORT
That the highest conception of yoga perfection is Krsna consciousness is clearly explained in this verse.
AND, UNLESS ONE IS KRSNA CONSCIOUS, IT IS NOT AT ALL POSSIBLE TO CONTROL THE SENSES.
As cited above, the great sage Durvasa Muni picked a quarrel with Maharaja Ambarisa, and Durvasa Muni unnecessarily became angry out of pride and therefore could not check his senses.
On the other hand, the King, although not as powerful a yogi as the sage, but a devotee of the Lord, silently tolerated all the sage's injustices and thereby emerged victorious.
The King was able to control his senses because of the following qualifications, as mentioned in the Srimad-Bhagavatam:
"KING AMBARISA FIXED HIS MIND ON THE LOTUS FEET OF LORD KRSNA, ENGAGED HIS WORDS IN DESCRIBING THE ABODE OF THE LORD, HIS HANDS IN CLEANSING THE TEMPLE OF THE LORD, HIS EARS IN HEARING THE PASTIMES OF THE LORD, HIS EYES IN SEEING THE FORM OF THE LORD, HIS BODY IN TOUCHING THE BODY OF THE DEVOTEE, HIS NOSTRILS IN SMELLING THE FLAVOR OF THE FLOWERS OFFERED TO THE LOTUS FEET OF THE LORD, HIS TONGUE IN TASTING THE TULASI LEAVES OFFERED TO HIM, HIS LEGS IN TRAVELING TO THE HOLY PLACE WHERE HIS TEMPLE IS SITUATED, HIS HEAD IN OFFERING OBEISANCES UNTO THE LORD, AND HIS DESIRES IN FULFILLING THE DESIRES OF THE LORD AND ALL THESE QUALIFICATIONS MADE HIM FIT TO BECOME A MAT-PARAH DEVOTEE OF THE LORD. " (Bhag. 9.4.18-20)
The word mat-parah is most significant in this connection. (mat-parah=in relationship with Me)
How one can become a mat-parah is described in the life of Maharaja Ambarisa.
Srila Baladeva Vidyabhusana, a great scholar and acharya in the line of the mat-parah, remarks: "THE SENSES CAN BE COMPLETELY CONTROLLED ONLY BY THE STRENGTH OF DEVOTIONAL SERVICE TO KRSNA.”
Also the example of fire is sometimes given: "AS THE SMALL FLAMES WITHIN BURN EVERYTHING WITHIN THE ROOM, SIMILARLY LORD VISNU, SITUATED IN THE HEART OF THE YOGI, BURNS UP ALL KINDS OF IMPURITIES.”
THE YOGA-SUTRA ALSO PRESCRIBES MEDITATION ON VISNU, AND NOT MEDITATION ON THE VOID.
THE SO-CALLED YOGIS WHO MEDITATE ON SOMETHING WHICH IS NOT THE VISNU FORM SIMPLY WASTE THEIR TIME IN A VAIN SEARCH AFTER SOME PHANTASMAGORIA.
WE HAVE TO BE KRSNA CONSCIOUS—DEVOTED TO THE PERSONALITY OF GODHEAD.
THIS IS THE AIM OF THE REAL YOGA.