I would say they did do it for HIm, in obedience to His Life within them, as He moved upon them with His love and compassion.
They love Him, and demonstrate their love for Him by loving people.
Assuredly, I say to you, inasmuch as you did it to one of the least of these My brethren, you did...