1 Samuel 1 11
and voweth a vow, and saith, 'Jehovah of Hosts, if Thou dost certainly look on the affliction of Thy handmaid, and hast remembered me, and dost not forget Thy handmaid, and hast given to Thy handmaid seed of men — then I have given him to Jehovah all days of his life, and a razor doth not go up upon his head.'
Compare with other 3 random translations
NLT 1 Samuel 1:11And 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.”
AMP 1 Samuel 1:11She made a vow, saying, “O Lord of hosts, if You will indeed look on the affliction (suffering) of Your maidservant and remember, and not forget Your maidservant, but will give Your maidservant a son, then I will give him to the Lord all the days of his life; a razor shall never touch his head.”
EAS 1 Samuel 1:11She made a promise to God. She prayed, ‘Lord Almighty, you can see how sad I am. Please be kind to me, your servant. Remember me and do not forget me. Please give a son to me, your servant. If you do that, I will give him to serve you for all of his life. Nobody will ever cut his hair.’