David knew that Yahweh had established him as king over Israel, and that his kingdom was exalted on high for the sake of his people Israel.