Srimad Bhagavatam Canto 10, Chapter 32, Text 21

 SB 10.32.21

evam mad-arthojjhita-loka-veda
 svanam hi vo mayy anuvrttaye ’balah
mayaparoksam bhajata tirohitam
 masuyitum marhatha tat priyam priyah
 
Translation: 
 
My dear girls, understanding that simply for My sake you had rejected the authority of worldly opinion, of the Vedas and of your relatives, I acted as I did only to increase your attachment to Me. Even when I removed Myself from your sight by suddenly disappearing, I never stopped loving you. Therefore, My beloved gopis, please do not harbor any bad feelings toward Me, your beloved.
 
Purport: 
 
Here the Lord indicates that though the gopis were already perfect in their love for Him, still, to inconceivably increase their perfection and show an example for the world, He acted as He did.
Srimad Bhagavatam Canto 10, Chapter 32, Text 20
Srimad Bhagavatam Canto 10, Chapter 32, Text 22