1 Samuel 1:11

1:11 She made a vow saying, “O Lord of hosts, if you will look with compassion on the suffering of your female servant, remembering me and not forgetting your servant, and give a male child to your servant, then I will dedicate him to the Lord all the days of his life. His hair will never be cut.”

1 Samuel 14:45

14:45 But the army said to Saul, “Should Jonathan, who won this great victory in Israel, die? May it never be! As surely as the Lord lives, not a single hair of his head will fall to the ground! For it is with the help of God that he has acted today.” So the army rescued Jonathan from death.