dvivido nāma vānaraḥ
sugrīva-sacivaḥ so ’tha
bhrātā maindasya vīryavān
Śrīla Jīva Gosvāmī points out some interesting facts about the ape Dvivida. Although Dvivida was an associate of Lord Rāmacandra’s, he later became corrupted by bad association with the demon Naraka, as stated here: narakasya sakhā. This bad association was the reaction for an offense Dvivida had committed when, being proud of his strength, he disrespected Lord Rāmacandra’s brother Lakṣmaṇa and others. Those who worship Lord Rāmacandra sometimes chant hymns addressed to Mainda and Dvivida, who are attendant deities of the Lord. According to Śrīla Jīva Gosvāmī, the Mainda and Dvivida mentioned in this verse are empowered expansions of these deities, who are residents of Lord Rāmacandra’s Vaikuṇṭha domain.
Śrīla Viśvanātha Cakravartī Ṭhākura concurs with Śrīla Jīva Gosvāmī’s view that Dvivida was ruined by bad association, which was a punishment for his having disrespected Śrīmān Lakṣmaṇa. Śrīla Viśvanātha Cakravartī states, however, that the Mainda and Dvivida mentioned here are actually the eternally liberated devotees addressed as attendant deities during the worship of Lord Rāmacandra. The Lord arranged their degradation, he says, to show the evil of the bad association that results from offending great personalities. Thus Śrīla Viśvanātha Cakravartī compares the fall of Dvivida and Mainda to that of Jaya and Vijaya.