qaz, neither of these even imply a “Trinity.” Trinitarians believe in a compound God consisting of 3 divine Persons.
The fact that Jesus existed before Abraham doesn’t imply that He was part of a Trinity. Nor does it imply that He was the great “I AM” as some supposed.
Also John 1:1 doesn’t say that the Word was the God. It does say that the Word was with the
God.
This phrase is usually translated, “and the word was God”. Some people read it emphasizing the word “was”. In doing so, they imply that the “word” and “God” are identical. But this is not the case since
“θεος” is not preceded by the article. In addition, the word order is changed: “θεος ‘ην ‘ο λογος” (God was the word). This word order is used elsewhere in the New Testament. For example:
God is love [ I John 4:16] “‘o θεος ‘αγαπη ‘εστιν” (God love is). Love is the kind of thing God is, the kind of “stuff” of which He consists ---- His essence.
Your word is reality. [John 17:17]. “‘o λογος ‘ο σος ‘αληθεια ‘εστιν” (The word of you reality is) Reality is the kind of thing God’s word is. It’s the stuff of which His word consists — the essence of His word.
Thus: The Expression was Deity [John 1:1] “θεος ‘ην ‘ο λογος” (Deity was the Expression). Deity is the kind of thing that the Expression of God was. It is the stuff of which He consists ---- His very essence.
Martin Luther concurred with this understanding. Whatever else he might have been, Luther was a good Greek scholar. He put it quite succinctly, saying that the lack of an article is against Sabellianism and the word order is against Arianism.
Sabellianism was a form of modalism or “oneness”, the idea that God is a single divine Individual who reveals Himself in three modes, Father, Son, and Holy Spirit.
Arianism may have originated from the early Christian teaching that the Son of God was begotten by God before all ages, and being God’s only begotten Son, he was therefore fully deity. Arius himself, when writing in 321 A.D. to Eusebius bishop of Nicodemia, referred to the Son as “fully God”: