If God dignified those men (and many of them were also vile and sinful men) with the title of gods, because they had a commission to govern people according to the law of God; and none must contradict what God hath said in his word; there can be no falsehood in the revelation of any part of the Divine will.
Related Commentaries of John 10:35
John 10:35
35 If he called them gods, unto whom the word of God came, and the scripture cannot be broken;