"When the Son of man comes in his glory, and all the angels with him, then he will sit on his glorious throne.
 Before him will be gathered all the nations, and he will separate them one from another as a shepherd separates the sheep from the goats,
 and he will place the sheep at his right hand, but the goats at the left.
 Then the King will say to those at his right hand, `Come, O blessed of my Father, inherit the kingdom prepared for you from the foundation of the world;
 for I was hungry and you gave me food, I was thirsty and you gave me drink, I was a stranger and you welcomed me,
 I was naked and you clothed me, I was sick and you visited me, I was in prison and you came to me.'
 Then the righteous will answer him, `Lord, when did we see thee hungry and feed thee, or thirsty and give thee drink?
 And when did we see thee a stranger and welcome thee, or naked and clothe thee?
 And when did we see thee sick or in prison and visit thee?'
 And the King will answer them, `Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me.'
 Then he will say to those at his left hand, `Depart from me, you cursed, into the eternal fire prepared for the devil and his angels;
 for I was hungry and you gave me no food, I was thirsty and you gave me no drink,
 I was a stranger and you did not welcome me, naked and you did not clothe me, sick and in prison and you did not visit me.'
 Then they also will answer, `Lord, when did we see thee hungry or thirsty or a stranger or naked or sick or in prison, and did not minister to thee?'
 Then he will answer them, `Truly, I say to you, as you did it not to one of the least of these, you did it not to me.'
 And they will go away into eternal punishment, but the righteous into eternal life."
It seems to me that a correct interpretation of this passage is that God includes all people in its being. Or in short God is everything and we must treat everything including our selves with respect and care. So with this interpretation, God feels our pain. There is not a separate pain other than our pain.
This passage also enforces a kind of religious democracy. There is no statement that the particular religion you belong to makes any difference. All religious and even nonreligious people must be treated with the same respect and care else you will not make it into heaven.
Do you think God feels the pain of those he sends into hell? That must be most painful of all.
Finally, this passage comfirms that it is what you do on earth that counts, not what you think or believe. The separation of the sheep from the goats has nothibng to do with belief- only with righteouness.