Everything Shakyamuni has ever said is just a "finger pointed to the moon". It is only known through the memory and writings of other people, so it's sensible to take that statement — and pretty much everything attributed to him — with a grain of salt.