In religion, there is the holy book and the
interpretation/commentary of it.
He judgeth among the gods — Accurately observeth all their conduct, and passes sentence upon them accordingly. By gods or, the mighty, he understands kings, or other chief rulers, judges, and magistrates, called gods below, Psalm 82:6; Exodus 12:12; Exodus 22:28. compared with Psalm 138:1, and John 10:35. They are called gods, because they have their power and commission from God, and act as his deputies, in his name and stead, and must give an account to him of their conduct in their high office and station.
From
Benson Commentaries.