For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life.
John 20:30–31 NKJV
And truly Jesus did many other signs in the presence of His disciples, which are not written in this book; but these are written that you may believe that Jesus is the Christ, the Son of God, and that believing you may have life in His name.
John uses events to prove that Jesus is the Son of God
John wants the believers to make a decision about who Jesus is so that they will believe and follow.