Srimad Bhagavatam Canto 09, Chapter 13, Text 05

SB 9.13.5

nimih pratidadau sapam
 gurave ’dharma-vartine
tavapi patatad deho
 lobhad dharmam ajanatah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
For unnecessarily cursing him when he had committed no offense, Maharaja Nimi countercursed his spiritual master. “For the sake of getting contributions from the King of heaven,” he said, “you have lost your religious intelligence. Therefore I pronounce this curse: your body also will fall.”
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The religious principle for a brahmana is that he should not be greedy at all. In this case, however, for the sake of more lucrative remunerations from the King of heaven, Vasistha neglected Maharaja Nimi’s request on this planet, and when Nimi performed the sacrifices with other priests, Vasistha unnecessarily cursed him. When one is infected by contaminated activities, his power, material or spiritual, reduces. Although Vasistha was the spiritual master of Maharaja Nimi, because of his greed he became fallen.
Srimad Bhagavatam Canto 09, Chapter 13, Text 04
Srimad Bhagavatam Canto 09, Chapter 13, Text 06