Jesus answered them, “Is it not written in your law, ‘I said, “You are gods”’? John 10:34

1) In context, religious people were judging and ready to murder Jesus Christ.
The Jews answered Him, saying, “For a good work we do not stone You, but for blasphemy, and because You, being a Man, make Yourself God.” John 10:33.

2) Jesus quoted Psalm 82:6 in response to religious people being judges.
I said, “You are  gods (judges), and all of you are children of the Most High. But you shall die like men, and fall like one of the princes.” Psalm 82:6.

3) In Psalm chapter 82, God was chastening the judges for being unjust.
How long will you judge unjustly, and show partiality to the wicked? Defend the poor and fatherless; Do justice to the afflicted and needy. Deliver the poor and needy; Free them from the hand of the wicked. Psalm 82:2-4.

4) In ancient Israel, judges were viewed as gods due to their authority.
“Then I commanded your judges at that time, saying, ‘Hear the cases between your brethren, and judge righteously between a man and his brother or the stranger who is with him. You shall not show partiality in judgment; you shall hear the small as well as the great; you shall not be afraid in any man’s presence, for the judgment is God’s.” Deuteronomy 1:16-17.

5) Jesus Christ was calling on the religious people to become believers.
If He called them gods (judges), to whom the word of God came (and the Scripture cannot be broken), do you say of Him whom the Father sanctified and sent into the world, ‘You are blaspheming,’ because I said, ‘I am the Son of God’? If I do not do the works of My Father, do not believe Me; but if I do, though you do not believe Me, believe the works, that you may know and believe that the Father is in Me, and I in Him.” John 10:35-38.

6) Religious people will generally not believe that Jesus Christ is God.
Therefore they sought again to seize Him, but He escaped out of their hand. And He went away again beyond the Jordan to the place where John was baptizing at first, and there He stayed. Then many came to Him and said, “John performed no sign, but all the things that John spoke about this Man were true.” And many believed in Him there. John 10:39-42.

7) Humans cannot become gods but should trust and believe in Jesus Christ.
Jesus answered and said to them (non-believers), “You are mistaken, not knowing the Scriptures nor the power of God. For in the resurrection they (believers) neither marry nor are given in marriage, but are like angels of God in heaven. But concerning the resurrection of the dead, have you not read what was spoken to you by God, saying, ‘I am the God of Abraham, the God of Isaac, and the God of Jacob’? God is not the God of the dead, but of the living.” Matthew 22:29-32.