What is the meaning of this verse & what Jesus was saying?

Why did Jesus say what he said in Mark 10:17?