After fourteen shlokas describing the demonic nature in detail, Krishna distills everything into one clean diagnosis. Three gates lead to hell: desire, anger, and greed. These three destroy the self. Therefore, abandon all three. The prescription is as direct as a doctor telling a patient: these three foods are making you sick — stop eating them.
The three are deeply connected. Desire is the starting point: 'I want.' When desire is blocked, anger erupts: 'Why can I not have it?' Greed fuels desire further: 'More, more, always more.' They form a triangle, each corner feeding the other two. Break any one side and the whole structure weakens.
Tasmad etat trayam tyajet — therefore, give up these three. No complex philosophy, no elaborate ritual. Just stop feeding the three fires that consume peace. This is the most famous shloka of the chapter, and its simplicity is its power. Close these three doors, and the path to hell is sealed shut.