ESV: 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."
NIV: And she made a vow, saying, "Lord Almighty, if you will only look on 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."
NASB: And she made a vow and said, 'Lord of armies, if You will indeed look on the affliction of Your bond-servant and remember me, and not forget Your bond-servant, but will give Your bond-servant a son, then I will give him to the Lord all the days of his life, and a razor shall never come on his head.'
CSB: Making a vow, she pleaded, "Lord of Armies, if you will take notice of your servant’s affliction, remember and not forget me, and give your servant a son, I will give him to the Lord all the days of his life, and his hair will never be cut."
NLT: And she made this vow: 'O Lord of Heaven’s Armies, if you will look upon my sorrow and answer my prayer and give me a son, then I will give him back to you. He will be yours for his entire lifetime, and as a sign that he has been dedicated to the Lord, his hair will never be cut. '
KJV: 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.
NKJV: Then she made a vow and said, “O Lord of hosts, if You will indeed look on the affliction of Your maidservant and remember me, and not forget Your maidservant, but will give Your maidservant a male child, then I will give him to the Lord all the days of his life, and no razor shall come upon his head.”