The first quote doesn’t say Jesus is God, only that his spirit existed before the creation. The I am (Greek εγώ ειμι )
This is common language same here in John 9: 7-9 the blind man that was healed Jesus said to go wash himself in the pool. When he returned they were querying if it was the same man. The man said “I am” meaning I am the same man.
This is very different to Exodus 3: 13-14 God does not identify as “I am”, but rather as εγώ ειμι ο ων I am the One or the one being.
Jesus saying “the Father and I are one” is only a statement of enlightenment where there is union with God.
John 1:3 does not refer to Jesus. It may be interpreted this way by people, who are trinitarians, but the words do not refer to male gender. “The word” in Greek carries a male article. Also the word “God” in Greek carries a male article. There is no reference here to Jesus being “the Word” at all. This is only a peculiarity of the Greek language. For instance “the wall” carries a male article. It doesn’t make the door a male or having male gender. Every noun in Greek carries either a male, female or neuter article and for the most part it does not refer to gender.