1 Samuel 1-2 (ESV)
The Birth of Samuel
1:1 There was a certain man of Ramathaim-zophim of the hill country of Ephraim whose name was Elkanah the son of Jeroham, son of Elihu, son of Tohu, son of Zuph, an Ephrathite. 2 He had two wives. The name of the one was Hannah, and the name of the other, Peninnah. And Peninnah had children, but Hannah had no children.
3 Now this man used to go up year by year from his city to worship and to sacrifice to the Lord of hosts at Shiloh, where the two sons of Eli, Hophni and Phinehas, were priests of the Lord. 4 On the day when Elkanah sacrificed, he would give portions to Peninnah his wife and to all her sons and daughters. 5 But to Hannah he gave a double portion, because he loved her, though the Lord had closed her womb.  6 And her rival used to provoke her grievously to irritate her, because the Lord had closed her womb. 7 So it went on year by year. As often as she went up to the house of the Lord, she used to provoke her. Therefore Hannah wept and would not eat. 8 And Elkanah, her husband, said to her, “Hannah, why do you weep? And why do you not eat? And why is your heart sad? Am I not more to you than ten sons?”
9 After they had eaten and drunk in Shiloh, Hannah rose. Now Eli the priest was sitting on the seat beside the doorpost of the temple of theLord. 10 She was deeply distressed and prayed to the Lord and wept bitterly. 11 And she vowed a vow and said, “O Lord of hosts, if you will indeed look on the affliction of your servant and remember me and not forget your servant, but will give to your servant a son, then I will give him to the Lord all the days of his life, and no razor shall touch his head.”
12 As she continued praying before the Lord, Eli observed her mouth. 13 Hannah was speaking in her heart; only her lips moved, and her voice was not heard. Therefore Eli took her to be a drunken woman. 14 And Eli said to her, “How long will you go on being drunk? Put your wine away from you.” 15 But Hannah answered, “No, my lord, I am a woman troubled in spirit. I have drunk neither wine nor strong drink, but I have been pouring out my soul before the Lord. 16 Do not regard your servant as a worthless woman, for all along I have been speaking out of my great anxiety and vexation.” 17 Then Eli answered, “Go in peace, and the God of Israel grant your petition that you have made to him.”18 And she said, “Let your servant find favor in your eyes.” Then the woman went her way and ate, and her face was no longer sad.
19 They rose early in the morning and worshiped before the Lord; then they went back to their house at Ramah. And Elkanah knew Hannah his wife, and the Lord remembered her. 20 And in due time Hannah conceived and bore a son, and she called his name Samuel, for she said, “I have asked for him from the Lord.” 
Samuel Given to the Lord
21 The man Elkanah and all his house went up to offer to the Lord the yearly sacrifice and to pay his vow. 22 But Hannah did not go up, for she said to her husband, “As soon as the child is weaned, I will bring him, so that he may appear in the presence of the Lord and dwell there forever.” 23 Elkanah 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. 24 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. 25 Then they slaughtered the bull, and they brought the child to Eli. 26 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. 27 For this child I prayed, and the Lord has granted me my petition that I made to him. 28 Therefore I have lent him to the Lord. As long as he lives, he is lent to the Lord.”
And he worshiped the Lord there.
2:1 And Hannah 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 your salvation.
2 “There is none holy like the Lord;
there is none besides you;
there is no rock like our God.
3 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.
4 The bows of the mighty are broken,
but the feeble bind on strength.
5 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.
6 The Lord kills and brings to life;
he brings down to Sheol and raises up.
7 The Lord makes poor and makes rich;
he brings low and he exalts.
8 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.
9 “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.
10 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.”
11 Then Elkanah went home to Ramah. And the boy ministered to the Lord in the presence of Eli the priest.
Eli’s Worthless Sons
12 Now the sons of Eli were worthless men. They did not know the Lord. 13 The custom of the priests with the people was that when any man offered sacrifice, the priest’s servant  would come, while the meat was boiling, with a three-pronged fork in his hand, 14 and he would thrust it into the pan or kettle or cauldron or pot. All that the fork brought up the priest would take for himself. This is what they did at Shiloh to all the Israelites who came there. 15 Moreover, before the fat was burned, the priest’s servant would come and say to the man who was sacrificing, “Give meat for the priest to roast, for he will not accept boiled meat from you but only raw.” 16 And if the man said to him, “Let them burn the fat first, and then take as much as you wish,” he would say, “No, you must give it now, and if not, I will take it by force.” 17 Thus the sin of the young men was very great in the sight of the Lord, for the men treated the offering of the Lord with contempt.
18 Samuel was ministering before the Lord, a boy clothed with a linen ephod. 19 And his mother used to make for him a little robe and take it to him each year when she went up with her husband to offer the yearly sacrifice. 20 Then Eli would bless Elkanah and his wife, and say, “May the Lord give you children by this woman for the petition she asked of the Lord.” So then they would return to their home.
21 Indeed the Lord visited Hannah, and she conceived and bore three sons and two daughters. And the young man Samuel grew in the presence of the Lord.
Eli Rebukes His Sons
22 Now Eli was very old, and he kept hearing all that his sons were doing to all Israel, and how they lay with the women who were serving at the entrance to the tent of meeting. 23 And he said to them, “Why do you do such things? For I hear of your evil dealings from all the people.24 No, my sons; it is no good report that I hear the people of the Lord spreading abroad. 25 If someone sins against a man, God will mediate for him, but if someone sins against the Lord, who can intercede for him?” But they would not listen to the voice of their father, for it was the will of the Lord to put them to death.
26 Now the young man Samuel continued to grow both in stature and in favor with the Lord and also with man.
The Lord Rejects Eli’s Household
27 And there came a man of God to Eli and said to him, “Thus the Lord has said, ‘Did I indeed reveal myself to the house of your father when they were in Egypt subject to the house of Pharaoh? 28 Did I choose him out of all the tribes of Israel to be my priest, to go up to my altar, to burn incense, to wear an ephod before me? I gave to the house of your father all my offerings by fire from the people of Israel. 29 Why then do you scorn  my sacrifices and my offerings that I commanded, and honor your sons above me by fattening yourselves on the choicest parts of every offering of my people Israel?’ 30 Therefore the Lord, the God of Israel, declares: ‘I promised that your house and the house of your father should go in and out before me forever,’ but now the Lord declares: ‘Far be it from me, for those who honor me I will honor, and those who despise me shall be lightly esteemed. 31 Behold, the days are coming when I will cut off your strength and the strength of your father’s house, so that there will not be an old man in your house. 32 Then in distress you will look with envious eye on all the prosperity that shall be bestowed on Israel, and there shall not be an old man in your house forever. 33 The only one of you whom I shall not cut off from my altar shall be spared to weep his  eyes out to grieve his heart, and all the descendants  of your house shall die by the sword of men. 34 And this that shall come upon your two sons, Hophni and Phinehas, shall be the sign to you: both of them shall die on the same day. 35 And I will raise up for myself a faithful priest, who shall do according to what is in my heart and in my mind. And I will build him a sure house, and he shall go in and out before my anointed forever. 36 And everyone who is left in your house shall come to implore him for a piece of silver or a loaf of bread and shall say, “Please put me in one of the priests’ places, that I may eat a morsel of bread.”’”