Srimad Bhagavatam Canto 07, Chapter 02, Text 06

SB 7.2.6

sapatnair ghatitah ksudrair
 bhrata me dayitah suhrt
parsni-grahena harina
 samenapy upadhavanaih
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
My insignificant enemies the demigods have combined to kill my very dear and obedient well-wisher, my brother Hiranyaksa. Although the Supreme Lord, Visnu, is always equal to both of us — namely, the demigods and the demons — this time, being devoutly worshiped by the demigods, He has taken their side and helped them kill Hiranyaksa.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
As stated in Bhagavad-gita (9.29), samo ’ham sarva-bhutesu: the Lord is equal to all living entities. Since the demigods and demons are both living entities, how is it possible that the Lord was partial to one class of living beings and opposed to another? Actually it is not possible for the Lord to be partial. Nonetheless, since the demigods, the devotees, always strictly follow the Supreme Lord’s orders, because of sincerity they are victorious over the demons, who know that the Supreme Lord is Visnu but do not follow His instructions. Because of constantly remembering the Supreme Personality of Godhead, Visnu, the demons generally attain sayujya-mukti after death. The demon Hiranyakasipu accused the Lord of being partial because the demigods worshiped Him, but in fact the Lord, like the government, is not partial at all. The government is not partial to any citizen, but if a citizen is law-abiding he receives abundant opportunities from the state laws to live peacefully and fulfill his real interests.
Srimad Bhagavatam Canto 07, Chapter 02, Text 04-05
Srimad Bhagavatam Canto 07, Chapter 02, Text 07-08