What does 1 Samuel 1:23 mean?
The Lord has granted Hannah's request, and the time has come to pay the vow she made to the Lord. She had told the Lord she would dedicate the child to God's service for his entire life if He would allow her to conceive and give birth to a son (1 Samuel 1:11). Now the time has come to pay the vow. Hannah's husband Elkanah takes the vow very seriously and plans to take the boy to the temple at Shiloh during the annual sacrifice (Numbers 30:10–15; 1 Samuel 1:21).It is possible Elkanah had made an additional vow to the Lord, which he planned to fulfill at this annual feast. Regardless, Hannah does not go to the feast at this time. She told her husband she would wait until the baby was weaned and could therefore survive without her. That process could take as long as three years. Hannah insists that when the time comes, she will personally deliver the boy to the priest and leave him there in the presence of the Lord at the temple (1 Samuel 1:22).
Now her husband agrees that this is best. He remains serious about it, though, and adds to his agreement the phrase "may the LORD establish his word." This seems to be a request for the Lord not to take the child away because the delay in keeping the vow is reasonable and done in good faith. With that understanding, Hannah and Samuel did not travel to Shiloh until the boy was fully weaned.