Did you see Me there?
In the book of Matthew, Jesus has a dissertation that cuts through me like a knife. It is in chapter 25, verses 35 to 46, were he talks to how people have treated him by the way they treat the people around him.
What I have below, is a mixed-up paraphrase of that section of verse. I combine the comments He makes in verses 42 to 43 to those that have ignored Him by ignoring others, and interposed them.
To the sheep: I was hungry, and you gave me something to eat; I was thirsty and you gave me something to drink.
To the goats: I was hungry and you joined a political party and created something called a poverty level.
To the sheep: I was a stranger and you invited me in.
To the goats: I was lonely and you left me alone, and went to pray for me.
To the sheep: I was naked and you clothed me.
To the goats: I was naked and you debated my morality with your friends.
To the sheep: I was sick and you comforted me.
To the goats: I was sick and you knelt and thanked God for your health, saying, "There but for Your grace, go I."
To the sheep: I was in prison and you visited me.
To the goats: I was in prison and you crept off quietly and prayed for my release.
Then the righteous will reply answer Him saying, "Lord, when did we see You hungry and feed You, or thirsty, and give You drink? And when did we see You a stranger and invite You in, or naked and clothe You? And when did we see You sick, or in prison, and come to You?" And the King will answer and say to them, "Truly I say to you, to the extent that you did it to one of these brothers of Mine, even the least of them, you did it to Me."
Then the ones on His left, (the Christian goats so to speak) also will answer saying, "Lord, when did we see You hungry, or thirsty, or a stranger, or anked, or sick, or in prison, and did not take care of You?" Then He will answer them, saying, "Truly I say to you, to the extent that you did not do it to one of the least of these, you did not do it to Me."
"And these (goats) will go away into permanent punishment, but the righteous (sheep) into permanent life."
No, we don't earn our way into heaven by the things that we do, we learn that we are going to heaven when we take our eyes off of ourselves and look for ways to serve the Lord, when we make Him our Master. This refers to our outlook, not our actions.