If that were true then no one would ever get to Heaven because other than Jesus no one has ever kept all the 10 Commandments. In fact the entire point of the Gospel is that Jesus saves even those who haven't kept all the Commandments.
Jesus said “keep the Commandments”.