and when they had fulfilled the days, as they were returning, the boy Jesus stayed behind in Jerusalem. Joseph and his mother didn't know it,
She had a son; she had to go through forty days of purification. If she had a daughter, she would have gone through eighty days of purification. Sort of a punishment for having a girl. Forty days of purification were accomplished.