Notice how all the references that denounced Jesus' belief in getting to heaven is through following the commands are coming from Paul. That is the recurring theme. Jesus used to quarrel with the people around him because they were not doing enough. Why would he do that when he could have just told them that all they need is grace. That is because he did not believe in grace. Rather, he believed in works and he lived his life by works to the end.