Thankyou for the clarification but I'm not sure the "works" Jesus was speaking of were in fact the "works of the Law". Two reasons.
1. Jesus also said when responding to the disciples about what works God requires ...
John 6:29
Jesus answered and said to them, “This is
the work of God, that you believe in Him whom He sent.”
Obviously as our example of the perfect human being, Christ wasn't having faith in Himself but in the Father hence, the works of teaching etc flowed from His ministry.
2. Jesus also said, referring to those who would follow ...
John 14:12
“Most assuredly, I say to you, he who believes in Me,
the works that I do he will do also; and greater
works than these he will do, because I go to My Father.
I think these verses show "works" does not always mean Law keeping therefore I do not believe Jesus was referring to the Law or the keeping of the Law but rather to His ministry (teaching, healing etc), a ministry born of faith in the Father.
However, having said the above, I certainly do agree with you that we are most assuredly not saved by works.