As far as Genesis 3:22 goes God did Not learn what was bad by doing bad as Adam did. (Psalms 92:14-15)
Rather, Adam would now judge what was good or evil by placing his judgement above God's judgement as to what was right or wrong. Adam himself thus became the 'law of the land' over what God had established.
At Genesis 2:17 Adam was already taught the evil was death. You eat, you die.
The 'gods' (lower-case letter 'g') of Psalms 82 I find is referring to human judges. see also Exodus 4:16; Exodus 7:1.
Human judges because they were to use God's judgements to judge what is right or wrong.
Any comments about Philippians 3:19.
Psalm 82:6 we are children of the Most High. Most High what? The most high God. So there are other gods? Though there are gods that are many, there is only one God we worship.
I also posted those scripture to show god is merely a title, not a name. The capital 'G' shows God is the most high, the God we worship and look to for salvation. Men, not only judges, have become like gods, judging between good and evil. Those passages say nothing about them being called gods due to them judging above gods judgment.
let them have dominion, Gen. 1:26.
man is become as one of us, Gen. 3:22.
be holy: for I … am holy, Lev. 19:2; 1 Pet. 1:16.
thou hast made him a little lower than the angels, Ps. 8:5.
madest him to have dominion over the works of thy hands, Ps. 8:6.
Ye are gods; and all of you are children of the most High, Ps. 82:6.
Be ye therefore perfect, even as your Father, Matt. 5:48.
spirit hath not flesh and bones, as ye see me have, Luke 24:39.
Is it not written in your law … Ye are gods, John 10:34.
we are the offspring of God, Acts 17:29.
heirs of God, and joint-heirs with Christ, Rom. 8:17.
changed into the same image from glory to glory, 2 Cor. 3:18.
if a son, then an heir of God through Christ, Gal. 4:7.
Till we all come … unto a perfect man, Eph. 4:13.
when he shall appear, we shall be like him, 1 Jn. 3:2.
him that overcometh will … sit with me in my throne, Rev. 3:21.