1 Corinthians 13:3 (ESV):
3 If I give away all I have, and if I deliver up my body to be burned, but have not love, I gain nothing.
Matthew 25:41-46 (ESV):
41 “Then he will say to those on his left, ‘Depart from me, you cursed, into the eternal fire prepared for the devil and his angels. 42 For I was hungry and you gave me no food, I was thirsty and you gave me no drink, 43 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.’ 44 Then they also will answer, saying, ‘Lord, when did we see you hungry or thirsty or a stranger or naked or sick or in prison, and did not minister to you?’ 45 Then he will answer them, saying, ‘Truly, I say to you, as you did not do it to one of the least of these, you did not do it to me.’ 46 And these will go away into eternal punishment, but the righteous into eternal life.”
Paul appears to be saying that doing good deeds for others is useless without love, but in Matthew 25:41-46 Jesus appeals to the lack of good deeds for others as the reason for the damnation of many. Does this mean that both love and good deeds are required? Should we focus on developing love first and good deeds for others will naturally follow later (as a "by-product")? How can we reconcile the two passages?