Bhagavad Gita · 18.35
यया स्वप्नं भयं शोकं विषादं मदमेव च।न विमुञ्चति दुर्मेधा धृतिः सा पार्थ तामसी॥
yayā svapnaṁ bhayaṁ śhokaṁ viṣhādaṁ madam eva cha na vimuñchati durmedhā dhṛitiḥ sā pārtha tāmasī
That determination by which a foolish person does not give up sleep, fear, grief, despair, and conceit — that determination is tamasic, O Partha.
— Bhagavad Gita 18.35
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)