19 They rose up in the morning early, and worshiped before Yahweh, and returned, and came to their house to Ramah: and Elkanah knew Hannah his wife; and Yahweh remembered her. 20 It happened, when the time had come, that Hannah conceived, and bore a son; and she named him Samuel, [1] saying, “Because I have asked him of Yahweh.” 21 The man Elkanah, and all his house, went up to offer to Yahweh the yearly sacrifice, and his vow. 22 But Hannah didn’t go up; for she said to her husband, “Not until the child is weaned; then I will bring him, that he may appear before Yahweh, and stay there forever.” 23 Elkanah her husband said to her, “Do what seems good to you. Wait until you have weaned him; only may Yahweh establish his word.”

So the woman waited and nursed her son, until she weaned him. 24 When she had weaned him, she took him up with her, with three bulls, and one ephah [2] of meal, and a bottle of wine, and brought him to Yahweh’s house in Shiloh. The child was young. 25 They killed the bull, and brought the child to Eli. 26 She said, “Oh, my lord, as your soul lives, my lord, I am the woman who stood by you here, praying to Yahweh. 27 For this child I prayed; and Yahweh has given me my petition which I asked of him. 28 Therefore also I have granted him to Yahweh. As long as he lives he is granted to Yahweh.” He worshiped Yahweh there.

Matthew Henry's Commentary on 1 Samuel 1:19-28

Commentary on 1 Samuel 1:19-28

(Read 1 Samuel 1:19-28)

Elkanah and his family had a journey before them, and a family of children to take with them, yet they would not move till they had worshipped God together. Prayer and provender do not hinder a journey. When men are in such haste to set out upon journeys, or to engage in business, that they have not time to worship God, they are likely to proceed without his presence and blessing. Hannah, though she felt a warm regard for the courts of God's house, begged to stay at home. God will have mercy, and not sacrifice. Those who are detained from public ordinances, by the nursing and tending of little children, may take comfort from this instance, and believe, that if they do that duty in a right spirit, God will graciously accept them therein. Hannah presented her child to the Lord with a grateful acknowledgment of his goodness in answer to prayer. Whatever we give to God, it is what we have first asked and received from him. All our gifts to him were first his gifts to us. The child Samuel early showed true piety. Little children should be taught to worship God when very young. Their parents should teach them in it, bring them to it, and put them on doing it as well as they can; God will graciously accept them, and will teach them to do better.