Psalm 82
King James Version
1 God standeth in the congregation of the mighty; he judgeth among the gods.
2 How long will ye judge unjustly, and accept the persons of the wicked? Selah.
3 Defend the poor and fatherless: do justice to the afflicted and needy.
4 Deliver the poor and needy: rid them out of the hand of the wicked.
5 They know not, neither will they understand; they walk on in darkness: all the foundations of the earth are out of course.
6 I have said, Ye are gods; and all of you are children of the most High.
7 But ye shall die like men, and fall like one of the princes.
8 Arise, O God, judge the earth: for thou shalt inherit all nations.
In verse 5 The earth out of course in Hebrew means it was moved. The transgressions of the Judges can be said to even cause the very earth itself to totter because of their immorality.
In the NT, this term has a completely and totally different meaning and connotation.
Now I'll comment a bit beyond the original question for this chapter.
Psalm 82
82 God standeth in the congregation of the mighty;
he judgeth among the gods.
The word gods is connected with the word Elohim in verse 1. And its a plural word.
So verse one defines its use in this case, being it can mean earthy rulers or judges.
God is Judging the judges of the earth of mankind. That claim to represent Him.
No matter what position or title, even those who claim to be
leaders or ministers of Gods word yet cover over The Truth,
with traditions of mankind every moment.
God is righteous in His Judgments.
Yet the earthly judges are wrong in theirs, and God is
presenting negatives and positives, condemning them in the process.
(( Earthly judges like used here Exodus 22:9, Exodus 22:28 quoted here Acts 23:5 kjv .
So Moses is so spoken of in this regard, (Exodus 7:1 ).
It is used of idols as representing even a false god too
John 10:34 , John 10:35. ))
Exodus 7:1 kjv
And the Lord said unto Moses, See,
I have made thee a god to Pharaoh:
and Aaron thy brother shall be thy prophet.
Because when Moses presented Gods words before Pharaoh, it was actually by Aaron given Moses was not always eloquent in speech of the Hebrew language were Aaron was being partly the case. God put Moses in this leadership role or judgeship
2 How long will ye judge unjustly, and accept the persons of the wicked? Selah.
3 Defend the poor and fatherless: do justice to the afflicted and needy.
4 Deliver the poor and needy: rid them out of the hand of the wicked.
5 They know not, neither will they understand; they walk on in darkness: all the foundations of the earth are out of course.
6 I have said, Ye are gods; and all of you are children of the most High.
7 But ye shall die like men, and fall like one of the princes.
8 Arise, O God, judge the earth: for thou shalt inherit all nations.
((In verse 6, it takes on a possessive form of the word.
You are children of God, and all of you, are children of The Most High. ))