Yahweh told Samuel to solemnly warn the people of Israel about the way in which the king would rule over them.