1 Samuel 1:9-11

9 And Ḥannah rose up after eating and drinking in Shiloh, while Ěli the priest was sitting on the seat by the doorpost of the Hĕḵal of יהוה.

10 And she was bitter in life, and prayed to יהוה and wept greatly.

11 And she made a vow and said, “O יהוה of hosts, if You would indeed look on the affliction of your female servant and remember me, and not forget your female servant, but shall give your female servant a male child, then I shall give him to יהוה all the days of his life, and let no razor come upon his head.”