What about the teachings in which Jesus says: “Amen, Amen, I say unto you................
Nothing about it being written down! LOL!
Looks like John recorded it. Since John 1:1 is operative and John 1:1 is speaking and sent the devil hence with "it is written", have to go with written. All things necessary for salvation were written, anything added is not from God.