1 Samuel 1:21-2:11
And the man Elka'nah and all his house went up to offer to the LORD the yearly sacrifice, and to pay his vow. But Hannah did not go up, for she said to her husband, "As soon as the child is weaned, I will bring him, that he may appear in the presence of the LORD, and abide there for ever."
Elka'nah her husband said to her, "Do what seems best to you, wait until you have weaned him; only, may the LORD establish his word." So the woman remained and nursed her son, until she weaned him. And when she had weaned him, she took him up with her, along with a three-year-old bull, an ephah of flour, and a skin of wine; and she brought him to the house of the LORD at Shiloh; and the child was young.
Then they slew the bull, and they brought the child to Eli. And she said, "Oh, my lord! As you live, my lord, I am the woman who was standing here in your presence, praying to the LORD. For this child I prayed; and the LORD has granted me my petition which I made to him. Therefore I have lent him to the LORD; as long as he lives, he is lent to the LORD." And they worshiped the LORD there.
Hannah also prayed and said,
"My heart exults in the LORD; my strength is exalted in the LORD. My mouth derides my enemies, because I rejoice in thy salvation.
"There is none holy like the LORD, there is none besides thee; there is no rock like our God. Talk no more so very proudly, let not arrogance come from your mouth; for the LORD is a God of knowledge, and by him actions are weighed. The bows of the mighty are broken, but the feeble gird on strength. Those who were full have hired themselves out for bread, but those who were hungry have ceased to hunger. The barren has borne seven, but she who has many children is forlorn. The LORD kills and brings to life; he brings down to Sheol and raises up. The LORD makes poor and makes rich; he brings low, he also exalts. He raises up the poor from the dust; he lifts the needy from the ash heap, to make them sit with princes and inherit a seat of honor. For the pillars of the earth are the LORD'S, and on them he has set the world.
"He will guard the feet of his faithful ones; but the wicked shall be cut off in darkness; for not by might shall a man prevail. The adversaries of the LORD shall be broken to pieces; against them he will thunder in heaven. The LORD will judge the ends of the earth; he will give strength to his king, and exalt the power of his anointed."
Then Elka'nah went home to Ramah. And the boy ministered to the LORD, in the presence of Eli the priest.