According to Leviticus 12, forty days after birth, the firstborn male was to be dedicated totally and completely to the purposes and service of the Lord.