Just to be clear, I cringe because the argument of authorship is irrelevant. Peter and John were with Jesus from the beginning of His ministry and address the issue in their letters.
2 Peter 1:16-21 - 16 For we did not follow cleverly devised tales when we made known to you the power and coming of our Lord Jesus Christ, but we were eyewitnesses of His majesty. 17 For when He received honor and glory from God the Father, such a [j]declaration as this was made to Him by the Majestic Glory: “This is [k]My beloved Son with whom I am well pleased”— 18 and we ourselves heard this [l]declaration made from heaven when we were with Him on the holy mountain.
19 And so we have the prophetic word made more sure, to which you do well to pay attention as to a lamp shining in a dark place, until the day dawns and the morning star arises in your hearts. 20 But know this first of all , that no prophecy of Scripture [m]becomes a matter of [n] someone’s own interpretation, 21 for no prophecy was ever made by an act of human will, but men moved by the Holy Spirit spoke from God.
1 John 1:1-4 - What was from the beginning, what we have heard, what we have seen with our eyes, what we have looked at and touched with our hands, concerning the Word of Life— 2 and the life was revealed, and we have seen and testify and proclaim to you the eternal life, which was with the Father and was revealed to us— 3 what we have seen and heard we proclaim to you also, so that you too may have fellowship with us; and indeed our fellowship is with the Father, and with His Son Jesus Christ. 4 These things we write, so that our joy may be made complete.
Whether or not they recorded the truth consistent with today’s academic standard or not is a silly argument to make. Thousands of people over thousands of years wrote the bible, which means God wrote it.