Canto 2 -
Ayodhyā-kāṇḍa
Chapter 3: Daśaratha Informs Rāma About his Decision
Text 2.3.42

भूयो विनयमास्थाय भव नित्यं जितेन्द्रियः।
कामक्रोधसमुत्थानि त्यजेथा व्यसनानि च॥

bhūyo vinayam āsthāya bhava nityaṁ jitendriyaḥ
kāma-krodha-samutthāni tyajethā vyasanāni ca

bhūyaḥ = more; vinayam = humble; āsthāya = become and; bhava = keep; nityam = always; jita-indriyaḥ = Your senses under control; kāma-krodha-samutthāni = due to lust and anger; tyajethāḥ = get rid; vyasanāni ca = of the dangers.

Become more humble and always keep Your senses under control. Get rid of the dangers due to lust and anger.

The dangers due to lust and anger are:

strī-dyūta-mṛgayā-madya-vāk-pāruṣyogra-daṇḍatā
artha-sandūṣaṇaṁ ceti rājñāṁ vyasana-saptakam

“The seven dangers for kings are [illicit association with] women, gambling, hunting, intoxication, rough speech, harsh punishment and spoiling money [inherited from his father].”

They are also enlisted as follows:

daśa kāma-samutthāni tathāṣṭau krodhajāni ca
vyasanāni durantāni prayatnena vivarjayet

mṛgayākṣo divā svāpaḥ parivādaḥ striyo madaḥ
tauryatrikaṁ vṛthāṭyā ca kāmajo daśako guṇaḥ

paiśunyaṁ sāhasaṁ droha īrṣyāsūyārtha-dūṣaṇe
vāg-daṇḍanaṁ ca pāruṣyaṁ krodhajo ’pi guṇo ’ṣṭakaḥ

“One should endeavor to keep away from the ten miserable vices stemming from lust and eight stemming from anger. The ten vices stemming from lust are: (1) hunting, (2) gambling, (3) sleeping during the day, (4) criticism of others, (5) associating with women, (6) drinking liquor, (7) being absorbed in music, (8) being absorbed in song, (9) being absorbed in dance, and (10) useless travel. The eight vices stemming from anger are: (1) slander, (2) audacity, (3) betrayal, (4) envy, (5) resentment, (6) theft, (7) verbal abuse, and (8) physical abuse.” (Manu-smṛti 7.45, 47-48)