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 the Lord. She was deeply distressed and prayed to the Lord and wept bitterly. 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.” As she continued praying before the Lord, Eli observed her mouth.
- 1 Samuel 1:9-12 (ESV)