It happened at the end of two months, that she returned to her father, who did with her according to his vow which he had vowed: and she was a virgin. It was a custom in Israel,
"Long neglect of the Mosaic law had left the Israelites with many mistaken notions about God’s will." [Note: Wolf, p. 381.] 