The reason the Apostle John wrote his Gospel was to establish the absolute divinity of Jesus. Granted, the concept of the trinity is hard to get one’s arms around and to some degree is beyond human intellect. I think John Calvin comes closest to explaining it in Book 1 of his “Institutes of the Christian Religion.”
Indeed, the divinity of Christ is in both the Old and New Testaments.