Someone please tell me how this passage does not promote salvation by works? The thief next to Jesus just had to believe to be with Him in paradise, yet if we don't do these thing the author of Matthew describes we'll go into eternal punishment? Someone please find a way to explain this passage to me...

Matthew 25:31-46