I offer no explanation or commentary to these two passages.
I just offer them as a contrapuntal perspective as to what our response should be to a segment of our society that is much maligned & castigated.
The first passage is a direct quote of Jesus.
The second is a directive from the author of the epistle of James.
31 "But when the Son of Man comes in his glory, and all the angels with him, then he will sit upon his glorious throne.
32 All the nations will be gathered in his presence, and he will separate the people as a shepherd separates the sheep from the goats.
33 He will place the sheep at his right hand and the goats at his left.
34 "Then the King will say to those on his right, 'Come, you who are blessed by my Father, inherit the Kingdom prepared for you from the creation of the world.
35 For I was hungry, and you fed me.
I was thirsty, and you gave me a drink.
I was a stranger, and you invited me into your home.
36 I was naked, and you gave me clothing.
I was sick, and you cared for me.
I was in prison, and you visited me.'
37 "Then these righteous ones will reply,
'Lord, when did we ever see you hungry and feed you?
Or thirsty and give you something to drink?
38 Or a stranger and show you hospitality?
Or naked and give you clothing?
39 When did we ever see you sick or in prison and visit you?'
40 "And the King will say,
'I tell you the truth, when you did it to one of the least of these my brothers and sisters, you were doing it to me!'
41 "Then the King will turn to those on the left and say,
'Away with you, you cursed ones, into the eternal fire prepared for the devil and his demons.
42 For I was hungry, and you didn't feed me.
I was thirsty, and you didn't give me a drink.
43 I was a stranger, and you didn't invite me into your home.
I was naked, and you didn't give me clothing.
I was sick and in prison, and you didn't visit me.'
44 "Then they will reply,
'Lord, when did we ever see you hungry or thirsty or a stranger or naked or sick or in prison, and not help you?'
45 "And he will answer, 'I tell you the truth, when you refused to help the least of these my brothers and sisters, you were refusing to help me.'
46 "And they will go away into eternal punishment, but the righteous will go into eternal life."
1 My dear brothers and sisters, how can you claim to have faith in our glorious Lord Jesus Christ if you favor some people over others?
2 For example, suppose someone comes into your meeting dressed in fancy clothes and expensive jewelry, and another comes in who is poor and dressed in dirty clothes.
3 If you give special attention and a good seat to the rich person, but you say to the poor one, "You can stand over there, or else sit on the floor"—well, 4 doesn't this discrimination show that your judgments are guided by evil motives?
5 Listen to me, dear brothers and sisters.
Hasn't God chosen the poor in this world to be rich in faith?
Aren't they the ones who will inherit the Kingdom he promised to those who love him?
6 But you dishonor the poor!
Isn't it the rich who oppress you and drag you into court?
7 Aren't they the ones who slander Jesus Christ, whose noble name you bear?
8 Yes indeed, it is good when you obey the royal law as found in the Scriptures:
"Love your neighbor as yourself."
9 But if you favor some people over others, you are committing a sin.
You are guilty of breaking the law.
10 For the person who keeps all of the laws except one is as guilty as a person who has broken all of God's laws.
11 For the same God who said, "You must not commit adultery," also said, "You must not murder."
So if you murder someone but do not commit adultery, you have still broken the law.
12 So whatever you say or whatever you do, remember that you will be judged by the law that sets you free.
13 There will be no mercy for those who have not shown mercy to others.
But if you have been merciful, God will be merciful when he judges you.