Did Jesus really say we are all Gods? Without understanding the context you could falsely interpret the text this way. So lets examine the context…
Jesus defends his claim [against blasphemy] using language they [the Pharisees] should be able to understand, through an appeal to the law. He cites a text that uses the word god of those who are not God: Is it not written in your Law, “I have said you are gods”? (v. 34). It is unclear who is being referred to in Psalm 82:6. Of the several proposals made by scholars (cf. Beasley-Murray 1987:176-77), the most likely takes this as a reference either to Israel’s judges or to the people of Israel as they receive the law. The latter is a common understanding among the rabbis (for example, b. ‘Aboda Zara 5a; Exodus Rabbah 32:7), but the former is also represented in Jewish interpretation (Midrash Psalms; b. Sanhedrin 6b; 7a; b. Sota 47b). Jesus’ explanation that these gods are those to whom the word of God came (v. 35) might point to the Israelites receiving the law. In this case the contrast between these gods and Jesus would be that Jesus is the one who both fulfills the law and is greater than the law. But this expression to whom the word of God came could also refer to the judges (as suggested by the rest of Ps 82) who have received a commission from God to exercise the divine prerogative of judgment on his behalf. The psalm is actually a condemnation of the judges for not exercising their responsibility faithfully, thus corresponding both to the condemnation of these Jewish leaders in John and to Jesus as the true judge.
IVP New Testament Commentaries
The entire article can be viewed at Bible Gateway
Summarizing the above commentary Jesus is quoting from Psalm 82:6 in which the Judges of the Nation of Israel are called “gods.” There are called gods because they received the word of God and are accountable to be God’s judges here on Earth according to that information. They are to be the Gods/rulers according to Gods word given to them. At that time they were in a sense God’s gods/rulers on earth. They were God’s agents of authority here on this Earth because they had the Scripture. And in this way it is not referring to “Gods” as figure of divinity or Godhood, but as a ruler or an authority. The interesting part is that Jesus almost uses this in a mocking fashion because those who were called “gods” as the commentators writes were being condemned for “not exercising their responsibility faithfully.” So Jesus, who is being accused of blasphemy because of his “good” or “god-like” works, turns the table on the Pharisees who were the keepers of the Law, and asks, “Are you not Gods?” Meaning, are you not also supposed to be keeping and ruling according to the Law? Are you not also not also supposed to be faithful to the Law you who received it from God?
Then Jesus in his following words defends that he is indeed different than those who had merely received the Law. He says that he has been set apart by God and sent into the World by God. He is the fulfillment of the Law, he is God, and that his works display this.
So to use this passage to support this idea that we are all “gods,” is perversion of Scripture. Furthermore, it is an ironic perversion of Scripture because this passage is a condemnation against all who have received the word yet are not living faithfully to its standards. The law of God which they were to be Judging with was condemning them. So Jesus is saying to the Pharisees that we are the “gods” or rulers of the Scripture God has given man, and yet you fail to live it out. This is why God has set me apart and sent me into the World.
The conclusion is that it points to man’s great need for a savior, because even though we have the law, man is unable to obtain righteousness.