Hannah vowed that if Yahweh would give her a son, she would give him to Yahweh and no razor would touch his head.