The Gospel of John is the fourth of the four Gospels Matthew, Mark, Luke and John. The authorship has been traditionally attributed to the apostle John or the apostle Jesus loved (John 13:23, John 19:26, John 2:2. John 21:7). The author is anonymosu but its been argued that as the Apostle John was prominent in the the early church, but not mentioned in this gospel then it follows he would have written it. The author knew Jewish life well, was intimately acquainted with the geography of Palestine. There appear to be touches that might be based on reflections of an eye witness such as the house of Bethany being filled with the fragrance of the broken perfume jar (John 12:3). Further early Christian writers such as Irenaeus and Tertullian indicated that John was the author.
However according to Wikipedia the authorship of the Johannine works, the Gospel of John, Epistles of John, and the Book of Revelation, has been debated by scholars since at least the 2nd century AD. Its acknowledged there may have been a single author for the gospel and the three epistles such John the Apostle. Most scholars agree that all three letters are written by the same author, although there is debate on who that author is. Although some scholars conclude the author of the epistles was different from that of the gospel, all four works probably originated from the same community, traditionally and plausibly attributed to Ephesus, c. 90-110, but perhaps, according to some scholars, from Syria.
Some scholars, however, argue that the apostle John wrote none of these works, although others, hold the apostle to be behind at least some, in particular the gospel.
Gospel of John - Wikipedia
So who did write the Gospel of John and was it the apostle John? Does it actually matter? I suspect the Apostle John may have written it for the reasons outlined in the first paragraph. On the other hand who wrote it doesn't change my belief it was Divinely inspired.
However according to Wikipedia the authorship of the Johannine works, the Gospel of John, Epistles of John, and the Book of Revelation, has been debated by scholars since at least the 2nd century AD. Its acknowledged there may have been a single author for the gospel and the three epistles such John the Apostle. Most scholars agree that all three letters are written by the same author, although there is debate on who that author is. Although some scholars conclude the author of the epistles was different from that of the gospel, all four works probably originated from the same community, traditionally and plausibly attributed to Ephesus, c. 90-110, but perhaps, according to some scholars, from Syria.
Some scholars, however, argue that the apostle John wrote none of these works, although others, hold the apostle to be behind at least some, in particular the gospel.
Gospel of John - Wikipedia
So who did write the Gospel of John and was it the apostle John? Does it actually matter? I suspect the Apostle John may have written it for the reasons outlined in the first paragraph. On the other hand who wrote it doesn't change my belief it was Divinely inspired.