The child Samuel grew on, and increased in favor both with Yahweh, and also with men.
So the scene is set the man living in polygamy, two wives. One he loved more than the other. One had many children, but the one he really loved could not have any children.