"Now they know that everything You have given me ..." (John 17:7)

"Now they know that everything You have given me comes from You." (John 17:7)

Was Jesus praying to himself? 

Jesus is continuing his prayer to the Supreme Being, evidenced by it beginning with:
After Jesus said this, he looked toward heaven and prayed: "Father...." (John 17:1)
Even though these verses are clear that Jesus is praying to the Supreme Being, there are many who still teach that Jesus is God.

Not only is Jesus praying to someone who is not himself and calling that person "Father," but Jesus then says here that, "everything You have given me comes from You."

If Jesus were God, then why would "everything" need to be given to him by someone else? Isn't God self-sufficient? Does God need to be given "everything" by God?

Jesus' statement presents two entities: A giver and the receiver. How can the receiver be the giver? How could the receiver receive anything without the separate existence of the giver?

In this case, it is obvious that Jesus is the receiver. And God - the Supreme Being - is the Giver.

This also points to the fact that the Supreme Being is not an impersonal force or void. God is a person, and this person God is giving something to Jesus. This notion that God is a person is a requisite to love. Jesus taught love for God. How could a person love an impersonal force or a void or monolith? A person can only love another person.

What did God give Jesus?

What he has been teaching his students:
"For I gave them the words You gave me..." (John 17:8)
The "words" are the teachings of Jesus. This is the central component of Jesus' life and purpose for coming to the earth. He did not come to "die for our sins," as purported by ecclesiastical Christian teachings. He came to teach. What did he teach? He taught what God gave him to teach.

This also explains a critical piece of who Jesus is. When one person gives words to another person to tell others, the person giving the words is the superior and the receiver of the words is subservient. When the receiver then passes those words on to others, they become the messenger, and representative. This is Jesus' role. He is God's representative. And it is God that has given everything to Jesus.

What was the core message passed on by Jesus?
“‘Love the Lord your God with all your heart and with all your soul and with all your mind.' This is the first and greatest commandment." (Matt. 22:37-38)