The God of Israel said,.... To David, or by him; he who was the covenant God of Israel literally considered, and is the covenant God and Father of the whole spiritual Israel, and who is owned, believed in, and worshipped by them:the Rock of Israel spake to me; the same with the God of Israel in other words, who is the strength and security of Israel; or the second divine Person, the Son and Word of God, is meant, who is often called a rock in Scripture; and is the rock on which the Israel or church of God is built, and in whom it remains safe and firm, the gates of hell not being able to prevail against it; and so here is an instance and proof of a trinity of persons in the Godhead; the God of Israel, Jehovah the Father; the Rock of Israel, Jehovah the Son; and the Spirit of Jehovah, as in 2Sa 23:2, who is Jehovah the Spirit: now what was said by these three divine Persons to David, and by him, and concerning himself as a type of the Messiah, follows:he that ruleth over men [must be] just, ruling in the fear of God; which is a character every king among men ought to have, administering justice to their subjects; ruling not only according to the laws of the land, but according to the law of God; having his fear before their eyes, and acting with a view to his honour and glory, whose vicegerents they are, and to whom they are accountable; they should rule with gentleness and humanity, considering they are men, and not brutes, they rule over.
Agamemnon in Homer is often called "king of men".