1 Samuel 1:11

And she made a vow, saying, "O Lord of hosts, if, in looking with favor, you will see the affliction of your servant and will remember me, and will not forget your handmaid, and if you will give to your servant a male child, then I will give him to the Lord all the days of his life, and no razor shall pass over his head.

Other versions

King James Version

And she vowed a vow, and said, O LORD of hosts, if thou wilt indeed look on the affliction of thine handmaid, and remember me, and not forget thine handmaid, but wilt give unto thine handmaid a man child, then I will give him unto the LORD all the days of his life, and there shall no razor come upon his head.

English Standard Version

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."

New International Version

And she made a vow, saying, "O LORD Almighty, if you will only look upon your servant's misery and remember me, and not forget your servant but give her a son, then I will give him to the LORD for all the days of his life, and no razor will ever be used on his head."