I’m not arguing that God wasn’t present, nor that God didn’t inspire the writing of the Gospels, but unless John 21:24 is a lie, God did not write them.
Except that he moved people though the power of the Holy Spirit.