there is plenty of none Christians who visit people in prisons, feed the poor, do lots of good, so why do they still need faith in Christ to be saved. if this good works is enough.
Notice that in
Matthew 25:34 Jesus said, “the kingdom prepared for them.” This means that the people are already believers. In verse 37 Jesus says, “Then the righteous will answer Him, saying, ‘Lord, when did we see You hungry, and feed You, or thirsty, and give You drink?'" They are righteous. They are believers who have the righteousness of God (
Philippians 3:9). It is the righteous, the believers, who do the good works. It isn't doing the good works that makes you
Christian or righteous. Those who are
already saved are doing the good deeds, and they inherit eternal life.
Furthermore, inheritance is for those who are children of the King - by birth; hence, they are
already born again and don't become
born again by doing good works. They do good deeds
because they are sheep. Jesus said that his sheep follow him (
John 10:27). That is, they follow him because of what they are - sheep. In so doing, they feed the poor, visit prisoners, etc. Doing these things are works of charity which is covered in the Old Testament
Law, such as feeding the poor (
Lev. 25:35); giving to the needy (
Deut. 15:11); showing love for the stranger (
Deut. 10:19); bearing another’s burden (
Ex 23:5); to wrong no one when buying and selling (
Lev. 25:14). Jesus is not teaching righteousness by faith and works. He is teaching on the coming judgment, and that those who are truly sheep will have done the things that are right, and they will inherit eternal life - because they are already his. Those who don’t will be judged by that law and be damned.