Psalm 82

God judges among the mighty of earth.
They have their power from Him and are accountable to Him.
Magistrates should therefore do good with all their power,
remembering that it is their special office and duty to protect and deliver the poor.

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.

Psalm 82:1-8 – ​The Just Judge of All

   Those described here as gods are evidently the judges and magistrates of Israel. See John 10:34. They were intended to be the mouthpiece and representatives of God; but instead, they thought only of their own interests and sought personal aggrandizement. But the psalmist beheld what was veiled from ordinary view—God standing in the midst of His people, judging them Himself and judging their judges. 
   We may have done wrongs of which no judge has convicted us. But God has seen, and unless there is confession, leading to forgiveness, He will certainly punish. Or, we may have been grossly misjudged, and in that case He will vindicate us. Go to Jesus, to whom the Father has committed all judgment, and remember that while all things are naked and open to His eyes, He also is the High Priest who is touched with the feeling of our infirmities, and the Lamb that takes away sin. When the foundations of the earth are out of course, let us remember that we belong to a kingdom that cannot be moved, Hebrews 12:28. —Through the Bible Day by Day

Psalm 82:8—Arise, O God, judge the earth: for Thou shalt inherit all nations.

​   The judges and magistrates are compared in this psalm to God, because they exercise something of his power in the right ordering of human society. The Bible always inculcates respect and reverence to properly constituted authority, though it never hesitates to demand of all in authority that they should exercise their high functions impartially. Too often has the high trust been abused, and the psalmist turns with relief to the upright Judge, and comforts himself with the reflection that one day God Himself shall judge the earth, because He shall inherit all the nations.
   Christ is the Firstborn and Only Begotten. As such He shall inherit all things. They were made for Him. He is the Heir. He came in his incarnation to claim his inheritance; but his claim was denied. He was cast out of the vineyard and slain; but his claims were not annulled, they remained intact. And during the present age they are being vindicated; and in answer to his appeal He is receiving the heathen for his inheritance, and the uttermost parts of the earth for his possession. One nation after another is becoming his province. The kings of the isles are bringing presents; the kings of Sheba and Seba are offering gifts.
   It is great encouragement in missionary work to know that every nation is by right of gift and inheritance our Lord’s. He sold his all to purchase it, because his treasure was buried here. It is ours to make it his in fact. It is always easy to work on the line of the Divine purpose. God never purposes outside what is practicable and possible for man to realize. Apprehend the purpose of God, and without hesitation claim its realization. —Our Daily Homily