In Bhagavad-gītā the Lord says, samo ‘haṁ sarva-bhūteṣu na me dveṣyo ‘sti na priyaḥ: “I envy no one, nor am I partial to anyone. I am equal to all.” (Bg. 9.29) The Supreme Personality of Godhead being equal to everyone, no one can be His enemy, nor can anyone be His friend. Since everyone is a part or son of the Supreme Personality of Godhead, the Lord cannot partially regard someone as a friend and someone as an enemy. Thus when Lord Caitanya Mahāprabhu punished Kamalākānta Viśvāsa by no longer allowing him to come in His presence, although the punishment was actually very hard on him, Śrī Advaita Prabhu, understanding the inner meaning of such punishment, was happy because He appreciated that the Lord had actually favored Kamalākānta Viśvāsa. Therefore He was not at all unhappy. Devotees should always be happy with all the dealings of their master, the Supreme Personality of Godhead. A devotee may be put into difficulty or opulence, but he should accept both as gifts of the Supreme Personality of Godhead and jubilantly engage in the service of the Lord in all circumstances.
Ref >> Srila Prabhupada Vani.