A man came to Jesus and asked how to be saved The Savior Himself replied if thou wilt enter into life KEEP THE COMMANDMENTS Matthew 1917 When his disciples heard it they were exceedingly amazed saying Who then can be saved

What is the correctly punctuated version of this sentence?
A man came to Jesus and asked how to be saved. The Savior Himself replied, "if thou wilt enter into life, KEEP THE COMMANDMENTS" (Matthew 19:17) . "When his disciples heard it, they were exceedingly amazed, saying, Who then can be saved?