Srimad-Bhagavad-Gita
TENTH CHAPTER — The Blessed Lord said:

29. Hear thou the triple distinction of intellect and fortitude, according to the Gunas, as I declare them exhaustively and severally, O Dhananjaya.

30. That which knows the paths of work and renunciation, right and wrong action, fear and fearlessness, bondage and liberation, that intellect, O Partha, is Sattvika.

31. That which has a distorted apprehension of Dharma and its opposite and also of right action and its opposite, that intellect, O Partha, is Rajasika.

32. That which enveloped in darkness regards Adharma as Dharma and views all things in a perverted light, that intellect, O Partha, is Tamasika.

33. The fortitude by which the functions of the mind, the Prana and the senses, O Partha, are regulated, that fortitude, unswerving through Yoga, is Sattvika.

34. But the fortitude by which one regulates (one's mind) to Dharma, desire and wealth, desirous of the fruit of each from attachment, that fortitude, O Partha, is Rajasika.

35. That by which a stupid man does not give up sleep, fear, grief, despondency and also overweening conceit, that fortitude, O Partha, is Tamasika.

36. And now hear from Me, O bull of the Bharatas, of the threefold happiness. That happiness which one learns to enjoy by habit, and by which one comes to the end of pain;

37. That which is like poison at first, but like nectar at the end; that happiness is declared to be Sattvika, born of the translucence of intellect due to Self-realisation.

38. That which arises from the contact of object with sense, at first like nectar, but at the end like poison, that happiness is declared to be Rajasika.

39. That happiness which begins and results in self-delusion arising from sleep, indolence and miscomprehension, that is declared to be Tamasika.

40. There is no entity on earth, or again in heaven among the Devas, that is devoid of these three Gunas, born of Prakriti.

41. Of Brahmanas and Kshatriyas and Vaishyas, as also of Sudras, O scorcher of foes, the duties are distributed according to the Gunas born of their own nature.

42. The control of the mind and the senses, austerity, purity, forbearance, and also uprightness, knowledge, realisation, belief in a hereafter,--these are the duties of the Brahmanas, born of (their own) nature.

43. Prowess, boldness, fortitude, dexterity, and also not flying from battle, generosity and sovereignty are the duties of the Kshatriyas, born of (their own) nature.

44. Agriculture, cattle-rearing and trade are the duties of the Vaishyas, born of (their own) nature; and action consisting of service is the duty of the Sudras, born of (their own) nature.

45. Devoted each to his own duty, man attains the highest perfection. How engaged in his own duty, he attains perfection, that hear.

46. From whom is the evolution of all beings, by whom all this is pervaded, worshipping Him with his own duty, a man attains perfection.