Yahweh told Samuel to obey their voice because they were not rejecting Samuel, but they were rejected Yahweh from being king over them.